/* Website pickup ordering: the shop ([lrbc_retail_order], assets/retail-shop.js) and the classic cart / checkout of a
 * pickup order (body.lrbc-retail-checkout).
 *
 * The site's own look (Blocksy): cream paper, EB Garamond headings, Avenir body, the copper button color. The planner's
 * rules for cards: names on fixed lines (clamped, never pushing the row), tabular numbers, fixed-height controls,
 * chips. Every text element sets its own color, so the theme's heading / button / link colors (and a visitor's dark
 * mode) never put dark text on a dark fill; the site is light only, so this is too. Contrast is 4.5:1 or better in
 * every state. Depth: soft warm layered shadows; motion only without prefers-reduced-motion. */

.lrbc-rs-wrap, .lrbc-rs-modal-host, body.lrbc-retail-checkout {
  --rs-ink: #211c17;        /* site text */
  --rs-muted: #5e544b;      /* 7.3:1 on white, 6.4:1 on --rs-warm */
  --rs-paper: #fffaf1;      /* site background */
  --rs-card: #ffffff;
  --rs-warm: #f6eddf;
  --rs-line: #e7dccb;
  --rs-line-strong: #d6c6ad;
  --rs-brand: #a85f2b;      /* site buttons; white text 4.8:1 */
  --rs-brand-dk: #7d3f1e;   /* hover, links; 8:1 */
  --rs-brand-soft: #fbf1e6;
  --rs-navy: #1c3a57;       /* focus ring, info */
  --rs-good: #2e6b3f;
  --rs-err: #a3271b;
  --rs-r: 16px;
  --rs-sh1: 0 1px 2px rgba(74, 50, 26, .06), 0 2px 8px rgba(74, 50, 26, .06);
  --rs-sh2: 0 2px 4px rgba(74, 50, 26, .06), 0 10px 24px rgba(74, 50, 26, .10), 0 22px 44px rgba(74, 50, 26, .06);
  --rs-sh3: 0 2px 6px rgba(74, 50, 26, .07), 0 18px 48px rgba(74, 50, 26, .14);
  --rs-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --rs-top: 0px;
}
.admin-bar .lrbc-rs-wrap { --rs-top: 32px; }
@media (max-width: 782px) { .admin-bar .lrbc-rs-wrap { --rs-top: 46px; } }
@media (max-width: 600px) { .admin-bar .lrbc-rs-wrap { --rs-top: 0px; } }

/* ---- scope resets: the theme's button, heading and link styles stop here ---------------------------------------- */
.lrbc-rs-wrap { max-width: 1240px; margin: 0 auto; color: var(--rs-ink); font-size: 16px; line-height: 1.45; }
.lrbc-rs, .lrbc-rs-modal-host { color: var(--rs-ink); }
.lrbc-rs *, .lrbc-rs *::before, .lrbc-rs *::after,
.lrbc-rs-modal-host *, .lrbc-rs-modal-host *::before, .lrbc-rs-modal-host *::after { box-sizing: border-box; }
.lrbc-rs button, .lrbc-rs-modal-host button {
  -webkit-appearance: none; appearance: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--rs-ink); font: inherit; font-weight: inherit; line-height: 1.2; letter-spacing: normal; text-transform: none; text-shadow: none;
  min-height: 0; width: auto; cursor: pointer; transition: none;
}
.lrbc-rs h2, .lrbc-rs h3, .lrbc-rs-modal-host h2 { margin: 0; padding: 0; color: var(--rs-ink); letter-spacing: normal; text-transform: none; }
.lrbc-rs p, .lrbc-rs-modal-host p { margin: 0; }
.lrbc-rs a, .lrbc-rs-modal-host a { color: var(--rs-brand-dk); text-decoration: underline; text-underline-offset: 2px; }
.lrbc-rs a:hover { color: var(--rs-ink); }
.lrbc-rs select, .lrbc-rs-modal-host select { font: inherit; }
.lrbc-rs [hidden], .lrbc-rs-modal-host [hidden] { display: none !important; }
.lrbc-rs svg, .lrbc-rs-modal-host svg { display: block; width: 18px; height: 18px; flex: none; }
.lrbc-rs :focus-visible, .lrbc-rs-modal-host :focus-visible { outline: 3px solid var(--rs-navy); outline-offset: 2px; }
html.lrbc-rs-locked, html.lrbc-rs-locked body { overflow: hidden; }

.lrbc-retail.is-closed { padding: 32px 16px; text-align: center; color: var(--rs-muted, #5e544b); }
.lrbc-rs-notices { margin: 0 0 12px; }
.lrbc-rs-noscript { margin: 12px 0; padding: 14px 16px; border: 1px solid #edd29a; border-radius: 12px; background: #fdf0d5; color: #5a3a06; }
.lrbc-rs-staff { margin: 0 0 12px; padding: 8px 14px; border: 1px solid #e8cf87; border-radius: 10px; background: #fff4d6; color: #5a4300; font-size: 14px; }

/* ---- skeleton (server-printed, replaced on first draw) ---------------------------------------------------------- */
.lrbc-rs-skel-bar { height: 64px; margin-bottom: 18px; border-radius: 14px; background: var(--rs-warm); }
.lrbc-rs-skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.lrbc-rs-skel-card { height: 330px; border-radius: var(--rs-r); background: linear-gradient(100deg, var(--rs-warm) 40%, #fbf5ec 50%, var(--rs-warm) 60%) 0 0 / 300% 100%; }
@media (prefers-reduced-motion: no-preference) { .lrbc-rs-skel-card { animation: lrbc-rs-shimmer 1.4s linear infinite; } }
@keyframes lrbc-rs-shimmer { to { background-position: -150% 0; } }

/* ---- layout ----------------------------------------------------------------------------------------------------- */
.lrbc-rs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.lrbc-rs-main { min-width: 0; }

/* Sticky tools: the pickup day chips and the section chips. */
.lrbc-rs-tools { position: sticky; top: var(--rs-top); z-index: 20; margin: 0 -8px 6px; padding: 10px 8px 10px; background: rgba(255, 250, 241, .94); -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); box-shadow: 0 10px 18px -14px rgba(74, 50, 26, .35); border-radius: 0 0 14px 14px; }
.lrbc-rs-tools-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lrbc-rs-tools-label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rs-muted); }
.lrbc-rs-days { display: flex; gap: 8px; min-width: 0; overflow-x: auto; padding: 6px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.lrbc-rs-days::-webkit-scrollbar { display: none; }
.lrbc-rs .lrbc-rs-day { position: relative; flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 68px; min-height: 58px; padding: 6px 4px;
  border: 1.5px solid #d8c7ae; border-radius: 14px; background: linear-gradient(180deg, #ffffff 0%, #f7efe3 100%); color: var(--rs-ink); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 0 #e3d4bf, 0 3px 7px -2px rgba(74, 50, 26, .22);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease; }
.lrbc-rs-day-dow { font-size: 12px; font-weight: 600; color: var(--rs-muted); white-space: nowrap; }
.lrbc-rs-day-md { font-size: 15px; font-weight: 700; color: var(--rs-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrbc-rs .lrbc-rs-day:hover { border-color: var(--rs-brand); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 0 #e3d4bf, 0 6px 12px -4px rgba(74, 50, 26, .3); }
.lrbc-rs .lrbc-rs-day:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(74, 50, 26, .15); }
.lrbc-rs .lrbc-rs-day:focus-visible { outline: 3px solid rgba(168, 95, 43, .45); outline-offset: 2px; }
.lrbc-rs .lrbc-rs-day.is-on { background: linear-gradient(180deg, #c27639 0%, #a85f2b 55%, #8f4e22 100%); border-color: #7d3f1e; color: #fff; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 3px rgba(168, 95, 43, .22), 0 8px 16px -5px rgba(125, 63, 30, .6); }
.lrbc-rs .lrbc-rs-day.is-on::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; margin-left: -5px; background: #8f4e22; border-right: 1.5px solid #7d3f1e; border-bottom: 1.5px solid #7d3f1e; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.lrbc-rs .lrbc-rs-day.is-on .lrbc-rs-day-dow, .lrbc-rs .lrbc-rs-day.is-on .lrbc-rs-day-md { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .2); }

.lrbc-rs-cats { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; }
.lrbc-rs-cats::-webkit-scrollbar { display: none; }
.lrbc-rs .lrbc-rs-cat { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 1px solid var(--rs-line); border-radius: 999px; background: var(--rs-card); color: var(--rs-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lrbc-rs .lrbc-rs-cat:hover { border-color: var(--rs-ink); }
.lrbc-rs .lrbc-rs-cat.is-on { background: var(--rs-ink); border-color: var(--rs-ink); color: #fff; }

/* ---- sections and cards ----------------------------------------------------------------------------------------- */
.lrbc-rs-sec { margin: 22px 0 30px; scroll-margin-top: calc(var(--rs-top) + 130px); }
.lrbc-rs .lrbc-rs-sec-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 12px; font-family: var(--rs-serif); font-size: 26px; font-weight: 600; line-height: 1.15; color: var(--rs-ink); }
.lrbc-rs-sec-title small { font-family: inherit; font-size: 15px; font-weight: 400; font-style: italic; color: var(--rs-muted); }
.lrbc-rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

.lrbc-rs-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--rs-line); border-radius: var(--rs-r); background: var(--rs-card); color: var(--rs-ink); box-shadow: var(--rs-sh1); }
@media (prefers-reduced-motion: no-preference) {
  .lrbc-rs-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .lrbc-rs-card:hover { transform: translateY(-3px); box-shadow: var(--rs-sh2); }
  .lrbc-rs-card:hover .lrbc-rs-media img { transform: scale(1.03); }
  .lrbc-rs-media img { transition: transform .4s ease; }
}
.lrbc-rs-card:hover { box-shadow: var(--rs-sh2); }
.lrbc-rs-card.is-in { border-color: var(--rs-brand); box-shadow: 0 0 0 1px var(--rs-brand), var(--rs-sh2); }
.lrbc-rs-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #fbf3e6 0%, #f1e3cd 70%, #ead8bd 100%); }
.lrbc-rs-media img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.lrbc-rs-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--rs-serif); font-size: 64px; font-weight: 600; color: #8a6a4c; }
.lrbc-rs-ph.is-sm { width: 64px; height: 64px; flex: none; border-radius: 12px; font-size: 32px; background: var(--rs-warm); }
.lrbc-rs-card.is-off .lrbc-rs-media img, .lrbc-rs-card.is-off .lrbc-rs-ph { filter: grayscale(.9); opacity: .7; }

.lrbc-rs-badge { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(33, 28, 23, .18); background: #fff; color: var(--rs-ink); }
.lrbc-rs-badge.is-today { background: var(--rs-good); color: #fff; }
.lrbc-rs-badge.is-ahead, .lrbc-rs-badge.is-pre { background: var(--rs-navy); color: #fff; }
.lrbc-rs-badge.is-made { background: #fff; color: var(--rs-brand-dk); }
.lrbc-rs-badge.is-low { background: #fdf0d5; color: #6e4206; }
.lrbc-rs-badge.is-out { background: #ece6dc; color: #4a423a; }

.lrbc-rs-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; padding: 14px 16px 16px; }
.lrbc-rs .lrbc-rs-name { margin: 0; font-family: var(--rs-serif); font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--rs-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lrbc-rs-desc { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--rs-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lrbc-rs-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: auto; padding-top: 12px; }
.lrbc-rs-price { display: flex; flex-direction: column; flex: none; font-size: 18px; font-weight: 700; line-height: 1.15; color: var(--rs-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrbc-rs-price small { font-size: 11.5px; font-weight: 600; color: var(--rs-muted); }
.lrbc-rs-why { font-size: 13px; font-weight: 600; color: #4a423a; text-align: right; }
.lrbc-rs-incount { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: var(--rs-brand); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 2px 6px rgba(33, 28, 23, .2); }

/* ---- buttons and steppers --------------------------------------------------------------------------------------- */
.lrbc-rs .lrbc-rs-btn, .lrbc-rs-modal-host .lrbc-rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid var(--rs-line-strong); border-radius: 12px;
  background: var(--rs-card); color: var(--rs-ink); font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.lrbc-rs .lrbc-rs-btn.is-primary, .lrbc-rs-modal-host .lrbc-rs-btn.is-primary { border-color: var(--rs-brand); background: var(--rs-brand); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 14px -6px rgba(125, 63, 30, .7); }
.lrbc-rs .lrbc-rs-btn.is-primary:hover:not(:disabled), .lrbc-rs-modal-host .lrbc-rs-btn.is-primary:hover:not(:disabled) { background: var(--rs-brand-dk); border-color: var(--rs-brand-dk); color: #fff; }
.lrbc-rs .lrbc-rs-btn:disabled, .lrbc-rs-modal-host .lrbc-rs-btn:disabled { border-color: #e2d9cb; background: #ece6dc; color: #4a423a; box-shadow: none; cursor: not-allowed; }
.lrbc-rs .lrbc-rs-btn.is-sm { padding: 0 16px; }
.lrbc-rs .lrbc-rs-btn.is-lg, .lrbc-rs-modal-host .lrbc-rs-btn.is-lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.lrbc-rs .lrbc-rs-btn.is-block { display: flex; width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .lrbc-rs .lrbc-rs-btn, .lrbc-rs-modal-host .lrbc-rs-btn { transition: background-color .15s, transform .12s, box-shadow .15s; }
  .lrbc-rs .lrbc-rs-btn:active:not(:disabled), .lrbc-rs-modal-host .lrbc-rs-btn:active:not(:disabled) { transform: translateY(1px); }
}

.lrbc-rs-step { display: inline-grid; grid-template-columns: 44px minmax(32px, auto) 44px; align-items: center; height: 44px; border: 1px solid var(--rs-line-strong); border-radius: 999px; background: var(--rs-card); box-shadow: var(--rs-sh1); }
.lrbc-rs .lrbc-rs-step button, .lrbc-rs-modal-host .lrbc-rs-step button { display: flex; align-items: center; justify-content: center; width: 44px; height: 42px; border-radius: 999px; color: var(--rs-brand-dk); }
.lrbc-rs .lrbc-rs-step button:hover:not(:disabled), .lrbc-rs-modal-host .lrbc-rs-step button:hover:not(:disabled) { background: var(--rs-brand-soft); color: var(--rs-brand-dk); }
.lrbc-rs .lrbc-rs-step button:disabled, .lrbc-rs-modal-host .lrbc-rs-step button:disabled { color: #8c8174; cursor: not-allowed; }
.lrbc-rs-step output { min-width: 32px; text-align: center; font-size: 16px; font-weight: 700; color: var(--rs-ink); font-variant-numeric: tabular-nums; }

.lrbc-rs .lrbc-rs-icon, .lrbc-rs-modal-host .lrbc-rs-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 999px; color: var(--rs-ink); }
.lrbc-rs .lrbc-rs-icon:hover, .lrbc-rs-modal-host .lrbc-rs-icon:hover { background: var(--rs-warm); color: var(--rs-ink); }

/* ---- the order panel -------------------------------------------------------------------------------------------- */
.lrbc-rs-panel { position: sticky; top: calc(var(--rs-top) + 16px); display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - var(--rs-top) - 32px); overflow: auto; overscroll-behavior: contain;
  margin-top: 10px; padding: 20px; border: 1px solid var(--rs-line); border-top: 4px solid var(--rs-brand); border-radius: 18px; background: var(--rs-card); color: var(--rs-ink); box-shadow: var(--rs-sh3); }
.lrbc-rs-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lrbc-rs .lrbc-rs-panel h2 { font-family: var(--rs-serif); font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--rs-ink); outline: none; }
.lrbc-rs .lrbc-rs-sheet-close { display: none; }
.lrbc-rs-pickup { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: var(--rs-paper); border: 1px solid var(--rs-line); }
.lrbc-rs-field { display: grid; gap: 4px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rs-muted); }
.lrbc-rs .lrbc-rs-field select { width: 100%; min-height: 44px; margin: 0; padding: 0 36px 0 12px; border: 1px solid var(--rs-line-strong); border-radius: 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%235e544b' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  -webkit-appearance: none; appearance: none; color: var(--rs-ink); font-size: 15px; font-weight: 600; letter-spacing: normal; text-transform: none; box-shadow: none; }
.lrbc-rs .lrbc-rs-field.has-error select { border-color: var(--rs-err); box-shadow: 0 0 0 1px var(--rs-err); }
.lrbc-rs-err { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--rs-err); }
.lrbc-rs-warn { margin: 0; font-size: 13.5px; font-weight: 600; color: #6e4206; }

.lrbc-rs .lrbc-rs-lines-day { margin: 4px 0 -6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rs-muted); }
.lrbc-rs-lines { list-style: none; margin: 0; padding: 0; }
.lrbc-rs-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rs-line); }
.lrbc-rs-line:first-child { padding-top: 4px; }
.lrbc-rs-line-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lrbc-rs-line-name { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--rs-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrbc-rs-line-opts { font-size: 12.5px; line-height: 1.35; color: var(--rs-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lrbc-rs-line-unit { font-size: 12.5px; color: var(--rs-muted); font-variant-numeric: tabular-nums; }
.lrbc-rs-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lrbc-rs-line-total { font-size: 15px; font-weight: 700; color: var(--rs-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrbc-rs-line.is-bad .lrbc-rs-line-name { color: var(--rs-err); }
.lrbc-rs-emptybox { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px; text-align: center; color: var(--rs-muted); font-size: 14px; }
.lrbc-rs-emptybox svg { width: 34px; height: 34px; color: #8a6a4c; }
.lrbc-rs-deal { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--rs-good); font-variant-numeric: tabular-nums; }
.lrbc-rs-deal strong { font-weight: 700; }
.lrbc-rs-price small.lrbc-rs-price-deal { color: var(--rs-good); white-space: normal; max-width: 14em; }
.lrbc-rs-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 4px; font-size: 14px; color: var(--rs-muted); font-variant-numeric: tabular-nums; }
.lrbc-rs-sum strong { font-size: 24px; font-weight: 700; color: var(--rs-ink); }
.lrbc-rs-alert, .lrbc-rs-banner { padding: 10px 12px; border: 1px solid #edc2bb; border-radius: 12px; background: #fdecea; color: #7a1f15; font-size: 14px; }
.lrbc-rs-alert p + p { margin-top: 4px; }
.lrbc-rs-banner { border-color: #edd29a; background: #fdf0d5; color: #5a3a06; }
.lrbc-rs-banner strong { color: #5a3a06; }
.lrbc-rs-banner.is-top { margin: 10px 0 4px; box-shadow: var(--rs-sh1); }
.lrbc-rs-alert a, .lrbc-rs-banner a { color: #5a2a12; font-weight: 700; }
.lrbc-rs-hint { margin-top: -6px; font-size: 13px; text-align: center; color: var(--rs-muted); }
.lrbc-rs-fine { font-size: 12.5px; line-height: 1.45; text-align: center; color: var(--rs-muted); }
.lrbc-rs-spin { width: 16px; height: 16px; border: 2px solid rgba(74, 66, 58, .35); border-top-color: #4a423a; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .lrbc-rs-spin { animation: lrbc-rs-spin .8s linear infinite; } }
@keyframes lrbc-rs-spin { to { transform: rotate(360deg); } }
.lrbc-rs-empty { padding: 30px 0; color: var(--rs-muted); }

/* ---- toast, mobile bar and order sheet -------------------------------------------------------------------------- */
.lrbc-rs-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99990; max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: 999px; background: var(--rs-ink); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(33, 28, 23, .3); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrbc-rs-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .lrbc-rs-toast { transition: transform .2s ease, opacity .2s ease; } }
.lrbc-rs-bar, .lrbc-rs-scrim { display: none; }

@media (max-width: 960px) {
  .lrbc-rs-layout { grid-template-columns: minmax(0, 1fr); }
  .lrbc-rs.has-bar { padding-bottom: 92px; }
  .lrbc-rs-bar:not([hidden]) { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9990; display: block; }
  .lrbc-rs .lrbc-rs-bar-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 0 20px 0 12px; border-radius: 18px; background: var(--rs-brand); color: #fff;
    box-shadow: 0 12px 30px -6px rgba(125, 63, 30, .55), 0 2px 6px rgba(33, 28, 23, .2); }
  .lrbc-rs .lrbc-rs-bar-btn:hover { background: var(--rs-brand-dk); color: #fff; }
  .lrbc-rs-bar-count { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--rs-brand-dk); font-weight: 800; font-variant-numeric: tabular-nums; }
  .lrbc-rs-bar-text { flex: 1; font-size: 16px; font-weight: 700; color: #fff; text-align: left; }
  .lrbc-rs-bar-btn strong { font-size: 17px; color: #fff; font-variant-numeric: tabular-nums; }
  .lrbc-rs-toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

  .lrbc-rs-panel { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 99980; max-height: 88vh; max-height: 88dvh; margin: 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0; border-top-width: 1px; transform: translateY(105%); visibility: hidden; box-shadow: 0 -12px 40px rgba(33, 28, 23, .28); }
  .lrbc-rs-panel::before { content: ""; align-self: center; flex: none; width: 40px; height: 5px; margin: -6px 0 -4px; border-radius: 3px; background: #d6c6ad; }
  .lrbc-rs.is-sheet .lrbc-rs-panel { transform: none; visibility: visible; }
  .lrbc-rs .lrbc-rs-sheet-close { display: flex; }
  .lrbc-rs-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 99970; background: rgba(33, 28, 23, .45); }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) { .lrbc-rs-panel { transition: transform .26s cubic-bezier(.2, .8, .2, 1), visibility .26s; } }

/* Phones: one card a row, photo on the left, the same fixed lines. */
@media (max-width: 600px) {
  .lrbc-rs-tools { margin: 0 -16px 4px; padding: 8px 16px; border-radius: 0; }
  .lrbc-rs-tools-label { display: none; }
  .lrbc-rs .lrbc-rs-day { width: 62px; min-height: 52px; }
  .lrbc-rs-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lrbc-rs-card { flex-direction: row; }
  .lrbc-rs-media { flex: 0 0 112px; aspect-ratio: auto; min-height: 140px; }
  .lrbc-rs-incount { top: 8px; right: auto; left: 8px; padding: 3px 8px; font-size: 11px; }
  .lrbc-rs-badge { top: auto; bottom: 8px; left: 8px; max-width: calc(100% - 16px); padding: 3px 8px; font-size: 11px; white-space: normal; text-align: center; line-height: 1.2; }
  .lrbc-rs-body { padding: 12px 12px 12px 14px; }
  .lrbc-rs .lrbc-rs-name { font-size: 17px; min-height: 0; }
  .lrbc-rs-desc { font-size: 13px; min-height: 0; }
  .lrbc-rs-foot { padding-top: 8px; }
  .lrbc-rs-price { font-size: 17px; }
  .lrbc-rs .lrbc-rs-btn.is-sm { padding: 0 14px; }
  .lrbc-rs-ph { font-size: 44px; }
  .lrbc-rs .lrbc-rs-sec-title { font-size: 23px; }
}

/* ---- the options / pre-order chooser (a dialog; a bottom sheet on phones) --------------------------------------- */
.lrbc-rs-modal-host { position: fixed; inset: 0; z-index: 100000; font-size: 16px; line-height: 1.45; }
.lrbc-rs-modal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(33, 28, 23, .5); opacity: 0; }
.lrbc-rs-modal-card { display: flex; flex-direction: column; width: min(600px, 100%); max-height: min(86vh, 860px); overflow: hidden; border-radius: 20px; background: var(--rs-card); color: var(--rs-ink);
  box-shadow: 0 30px 80px rgba(33, 28, 23, .35), 0 4px 12px rgba(33, 28, 23, .12); transform: translateY(14px) scale(.98); }
.lrbc-rs-modal-host.is-open .lrbc-rs-modal { opacity: 1; }
.lrbc-rs-modal-host.is-open .lrbc-rs-modal-card { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .lrbc-rs-modal { transition: opacity .2s ease; }
  .lrbc-rs-modal-card { transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
}
.lrbc-rs-modal-head { display: flex; align-items: flex-start; gap: 14px; padding: 18px 14px 14px 20px; border-bottom: 1px solid var(--rs-line); background: var(--rs-paper); }
.lrbc-rs-modal-head img { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: var(--rs-sh1); }
.lrbc-rs-modal-head > div { flex: 1; min-width: 0; }
.lrbc-rs-modal-host .lrbc-rs-modal-head h2 { font-family: var(--rs-serif); font-size: 24px; font-weight: 600; line-height: 1.15; color: var(--rs-ink); overflow-wrap: anywhere; }
.lrbc-rs-modal-head p { margin-top: 4px; font-size: 13.5px; color: var(--rs-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lrbc-rs-modal-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 12px; }
.lrbc-rs-set { margin: 0; padding: 16px 0 6px; border: 0; border-bottom: 1px solid var(--rs-line); min-width: 0; }
.lrbc-rs-set:last-child { border-bottom: 0; }
.lrbc-rs-set legend { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0 0 10px; padding: 0; float: left; }
.lrbc-rs-set legend + * { clear: both; }
.lrbc-rs-set legend span { font-family: var(--rs-serif); font-size: 19px; font-weight: 600; color: var(--rs-ink); }
.lrbc-rs-set legend em { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--rs-warm); color: #4a423a; font-size: 11.5px; font-style: normal; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.lrbc-rs-set legend em.is-req { background: #f9e6d6; color: var(--rs-brand-dk); }
.lrbc-rs-set.has-error legend em { background: #fdecea; color: var(--rs-err); }
.lrbc-rs-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
/* Radio / box, then the name (2 lines at most) with the add-on price or "Sold out" under it, so names keep the width. */
.lrbc-rs-opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; margin: 0; padding: 8px 12px; border: 1px solid var(--rs-line-strong); border-radius: 12px; background: var(--rs-card); color: var(--rs-ink); cursor: pointer; }
.lrbc-rs-opt:hover { border-color: var(--rs-brand); }
.lrbc-rs-opt input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--rs-brand); cursor: pointer; }
.lrbc-rs-opt-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.lrbc-rs-opt-name { min-width: 0; font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--rs-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lrbc-rs-opt-meta { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--rs-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrbc-rs-opt-meta:empty { display: none; }
.lrbc-rs-opt:has(input:checked) { border-color: var(--rs-brand); background: var(--rs-brand-soft); box-shadow: 0 0 0 1px var(--rs-brand); }
.lrbc-rs-opt:has(input:focus-visible) { outline: 3px solid var(--rs-navy); outline-offset: 2px; }
.lrbc-rs-opt.is-out { border-style: dashed; background: #f6f2ec; cursor: not-allowed; }
.lrbc-rs-opt.is-out .lrbc-rs-opt-name { color: #4a423a; text-decoration: line-through; text-decoration-color: rgba(74, 66, 58, .5); }
.lrbc-rs-opt.is-out .lrbc-rs-opt-meta { color: var(--rs-err); }
.lrbc-rs-opt.is-full { background: #faf7f2; cursor: not-allowed; }
.lrbc-rs-opt.is-full .lrbc-rs-opt-name { color: #4a423a; }
.lrbc-rs-set .lrbc-rs-err { margin-top: 8px; }
.lrbc-rs-modal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rs-line); background: var(--rs-card); box-shadow: 0 -8px 20px -12px rgba(74, 50, 26, .3); }
.lrbc-rs-modal-foot .lrbc-rs-err { flex: 1 1 100%; margin: 0; }
.lrbc-rs-modal-foot .lrbc-rs-btn { flex: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .lrbc-rs-modal { align-items: flex-end; padding: 0; }
  .lrbc-rs-modal-card { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .lrbc-rs-opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lrbc-rs-opt { padding: 8px 10px; gap: 8px; }
  .lrbc-rs-opt-name { font-size: 14px; }
  .lrbc-rs-modal-body { padding: 4px 16px 10px; }
  .lrbc-rs-modal-head { padding: 16px 10px 12px 16px; }
  .lrbc-rs-modal-foot { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 360px) { .lrbc-rs-opts { grid-template-columns: minmax(0, 1fr); } }

/* ---- classic cart, checkout and thank-you page of a pickup order (body.lrbc-retail-checkout) -------------------- */
body.lrbc-retail-checkout .woocommerce table.shop_table,
body.lrbc-retail-checkout .woocommerce-checkout-review-order-table,
body.lrbc-retail-checkout .cart_totals,
body.lrbc-retail-checkout #payment { border: 1px solid var(--rs-line) !important; border-radius: var(--rs-r) !important; background: var(--rs-card); color: var(--rs-ink); box-shadow: var(--rs-sh1); overflow: hidden; border-collapse: separate; }
body.lrbc-retail-checkout .woocommerce table.shop_table th,
body.lrbc-retail-checkout .woocommerce table.shop_table td { color: var(--rs-ink); border-color: var(--rs-line); font-variant-numeric: tabular-nums; }
body.lrbc-retail-checkout .woocommerce table.shop_table thead th { background: var(--rs-paper); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--rs-muted); }
body.lrbc-retail-checkout .woocommerce table.shop_table .order-total th,
body.lrbc-retail-checkout .woocommerce table.shop_table .order-total td { font-size: 18px; }
body.lrbc-retail-checkout dl.variation, body.lrbc-retail-checkout .wc-item-meta { font-size: 13px; color: var(--rs-muted); }
body.lrbc-retail-checkout dl.variation dt, body.lrbc-retail-checkout dl.variation dd, body.lrbc-retail-checkout dl.variation p { color: var(--rs-muted); }
body.lrbc-retail-checkout #payment { padding: 4px; background: var(--rs-paper); }
body.lrbc-retail-checkout #payment .payment_box { background: var(--rs-card); color: var(--rs-ink); }
body.lrbc-retail-checkout #place_order, body.lrbc-retail-checkout .checkout-button { min-height: 54px; border: 0; border-radius: 14px; background: var(--rs-brand); color: #fff; font-weight: 700; font-size: 17px; text-transform: none; letter-spacing: normal;
  box-shadow: 0 8px 20px -8px rgba(125, 63, 30, .7); }
body.lrbc-retail-checkout #place_order:hover, body.lrbc-retail-checkout .checkout-button:hover { background: var(--rs-brand-dk); color: #fff; }
body.lrbc-retail-checkout .woocommerce-billing-fields input.input-text { min-height: 46px; border-radius: 10px; }
/* Line and totals rows (Subtotal, Tax, Total, Payment method): the theme paints table th / tfoot cells dark brown,
 * which hid our dark text. Every row gets the card's light background and dark text, with a thin divider; the
 * totals sit on warm paper. Covers the checkout review, the order-received / view-order details and the cart totals. */
body.lrbc-retail-checkout table.shop_table tbody th, body.lrbc-retail-checkout table.shop_table tbody td,
body.lrbc-retail-checkout .woocommerce-checkout-review-order-table tbody td,
body.lrbc-retail-checkout .woocommerce-table--order-details tbody td { background: var(--rs-card) !important; color: var(--rs-ink) !important; border-top: 1px solid var(--rs-line) !important; }
body.lrbc-retail-checkout table.shop_table tfoot th, body.lrbc-retail-checkout table.shop_table tfoot td,
body.lrbc-retail-checkout .woocommerce-checkout-review-order-table tfoot th, body.lrbc-retail-checkout .woocommerce-checkout-review-order-table tfoot td,
body.lrbc-retail-checkout .woocommerce-table--order-details tfoot th, body.lrbc-retail-checkout .woocommerce-table--order-details tfoot td,
body.lrbc-retail-checkout .cart_totals table th, body.lrbc-retail-checkout .cart_totals table td {
  background: var(--rs-paper) !important; color: var(--rs-ink) !important; border: 0 !important; border-top: 1px solid var(--rs-line) !important; text-shadow: none !important; }
body.lrbc-retail-checkout table.shop_table tfoot th, body.lrbc-retail-checkout .cart_totals table th { font-weight: 600; text-align: left; }
body.lrbc-retail-checkout table.shop_table tfoot td, body.lrbc-retail-checkout .cart_totals table td { text-align: right; }
body.lrbc-retail-checkout table.shop_table tfoot tr:first-child th, body.lrbc-retail-checkout table.shop_table tfoot tr:first-child td { border-top: 1px solid var(--rs-line-strong) !important; }
body.lrbc-retail-checkout table.shop_table tfoot a, body.lrbc-retail-checkout table.shop_table tfoot .amount,
body.lrbc-retail-checkout table.shop_table tfoot small, body.lrbc-retail-checkout .cart_totals .amount { color: var(--rs-ink) !important; }
body.lrbc-retail-checkout table.shop_table tfoot .order-total th, body.lrbc-retail-checkout table.shop_table tfoot .order-total td { font-weight: 700; }
body.lrbc-retail-checkout table.shop_table tfoot .includes_tax, body.lrbc-retail-checkout table.shop_table tfoot .tax_label { color: var(--rs-muted) !important; }

.lrbc-retail-pickups { margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--rs-line, #e7dccb); border-top: 4px solid var(--rs-brand, #a85f2b); border-radius: var(--rs-r, 16px); background: var(--rs-card, #fff); color: var(--rs-ink, #211c17); box-shadow: var(--rs-sh1, 0 2px 8px rgba(74, 50, 26, .08)); }
.lrbc-retail-pickups-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lrbc-retail-pickups h3 { margin: 0; font-size: 20px; color: var(--rs-ink, #211c17); }
.lrbc-retail-pickups-head a { font-size: 14px; font-weight: 600; color: var(--rs-brand-dk, #7d3f1e); }
.lrbc-retail-pickups label { color: var(--rs-ink, #211c17); font-weight: 600; }
.lrbc-retail-pickups select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--rs-line-strong, #d6c6ad); border-radius: 10px; background: #fff; color: var(--rs-ink, #211c17); font-size: 16px; }
.lrbc-retail-pickups em { color: #6e4206; }
.lrbc-retail-pickups .cf-turnstile { margin-top: 10px; }
.lrbc-retail-rewards { display: inline-block; margin: 8px 0 0; padding: 6px 12px; border-radius: 999px; background: #e9f2ea; color: #1f4a2b; font-size: 14px; font-weight: 600; }
.lrbc-retail-thanks { margin: 0 0 20px; padding: 16px 18px; border: 1px solid var(--rs-line, #e7dccb); border-left: 4px solid var(--rs-good, #2e6b3f); border-radius: var(--rs-r, 16px); background: var(--rs-card, #fff); color: var(--rs-ink, #211c17); box-shadow: var(--rs-sh1, 0 2px 8px rgba(74, 50, 26, .08)); }
.lrbc-retail-thanks h2 { margin: 0 0 8px; color: var(--rs-ink, #211c17); }
.lrbc-retail-thanks p, .lrbc-retail-thanks strong { color: var(--rs-ink, #211c17); }
.lrbc-retail-hidden-field { display: none !important; }

/* Pickup checkout: Join Square Rewards (LRBC_PM_Retail_Loyalty, assets/retail-rewards.js). */
.lrbc-rewards { clear: both; }
.lrbc-rewards .lrbc-rewards-optin label { font-weight: 600; }
.lrbc-rewards .lrbc-rewards-terms { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; opacity: .85; }
.lrbc-rewards .lrbc-rewards-member { margin: 0 0 1em; font-weight: 600; }
.lrbc-rewards [hidden] { display: none !important; }
