/* The client portal (a shop's public page): plain and friendly, works on phones first. */
.client-body { background: var(--bg); }
.client-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.2rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.client-brand { display: flex; align-items: center; gap: .7rem; color: var(--text); font-weight: 750; font-size: 1.15rem; text-decoration: none; }
.client-brand img { max-height: 40px; max-width: 120px; }
.client-main { flex: 1; width: 100%; max-width: 1400px; margin: 0 auto; padding: 1.2rem; }
.client-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; padding: 1rem; color: var(--muted); font-size: .85rem; }
.client-hero { text-align: center; margin: 1.5rem 0; }
.client-logo { max-width: 220px; max-height: 140px; margin-bottom: .8rem; }
.client-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 720px; margin: 0 auto; }
.client-choice { display: grid; gap: .3rem; padding: 1.4rem; border: 2px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; }
.client-choice strong { font-size: 1.3rem; color: var(--accent); }
.client-choice:hover { border-color: var(--accent); text-decoration: none; }
.client-order { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1rem; align-items: start; }
.client-search { grid-column: 1 / -1; width: 100%; max-width: 420px; }
.client-cats { grid-column: 1 / -1; display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; }
.client-cat { flex: none; min-height: 44px; padding: 0 1rem; border: 0; border-radius: 999px; color: #fff; font: inherit; font-weight: 700; cursor: pointer; opacity: .62; transition: opacity .15s, filter .15s; }
/* the chosen one lights up - no ring around it (owner, 2026-10-09, srv-110) */
.client-cat.on { opacity: 1; filter: brightness(1.18) saturate(1.15); }
/* "All" first, and a chosen category's groups under it (owner, 2026-10-09, srv-110) */
/* a field that must be filled in (owner, 2026-10-09, srv-111) */
.req { margin-left: .25rem; color: #ef4444; font-weight: 700; }
.client-req-note { margin: 0 0 .4rem; font-size: .9rem; }
.client-cat.all { background: var(--text); color: var(--bg); }
.client-groups[hidden] { display: none; }
.client-groups .client-cat { min-height: 38px; font-size: .92rem; }
.client-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.client-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: .6rem .7rem; border: 1px solid var(--border); border-left: 6px solid var(--c, var(--muted)); border-radius: 10px; background: var(--surface); color: var(--text); }   /* (srv-172: the colour on the edge only, never on the name) */
.client-item img { width: 40px; height: 40px; object-fit: contain; }
.client-item .name { font-weight: 650; }
.client-item .price { color: var(--muted); font-size: .9rem; }
.client-item button, .basket-line button { min-width: 40px; min-height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.client-basket { position: sticky; top: 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.client-basket h2 { margin-top: 0; }
.basket-line { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: .3rem .4rem; padding: .45rem 0; border-bottom: 1px solid var(--border); }
/* compact lines (owner, 2026-10-12, srv-180): smaller - / + , the changes under the name, Change + comment on one row */
.basket-line button { min-width: 32px; min-height: 32px; border-radius: 8px; font-size: 1.05rem; }
.basket-line strong { min-width: 4.2rem; text-align: right; }
.basket-name { line-height: 1.25; }
.basket-changed { display: block; color: var(--muted); font-size: .8rem; }
.basket-more { grid-column: 1 / -1; display: flex; gap: .4rem; align-items: center; }
.basket-line .basket-change { flex: none; min-width: 0; min-height: 30px; padding: 0 .6rem; font-size: .82rem; font-weight: 600; }
.client-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin: .8rem 0; }
.client-done { max-width: 560px; margin: 2rem auto; text-align: center; }
/* the order page in two steps (owner, 2026-10-04): the basket's Next / Start over, then the details */
.basket-actions { display: grid; gap: .5rem; margin-top: .6rem; }
.basket-note { flex: 1; min-width: 0; min-height: 30px; height: 32px; font-size: .85rem; padding: .25rem .55rem; }
/* an item's extras: chosen when it is added (client.js; owner, 2026-10-04) */
.basket-extras { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.basket-extras button { min-width: 0; min-height: 0; padding: .15rem .6rem; font-size: .85rem; font-weight: 600; }
.client-details { max-width: 560px; margin: 1rem auto; }
.details-line { display: flex; justify-content: space-between; gap: .6rem; padding: .3rem 0; border-bottom: 1px solid var(--border); }
.details-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; }
/* the status code and "Check my order / booking" (client/status.html) */
.client-code strong { font-size: 1.25rem; letter-spacing: .08em; }
.client-status { max-width: 560px; margin: 2rem auto; }
.client-status-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.client-status-form .field { flex: 1 1 200px; margin: 0; }
.client-status-form input { text-transform: uppercase; letter-spacing: .08em; }
.client-status-result { margin: 1.2rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; text-align: center; }
/* Self-Order (owner, 2026-10-05) */
.self-start { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; align-items: start; }
.self-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.self-state { display: inline-block; margin-left: .3rem; padding: .05rem .5rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #1f9d55; color: #fff; }
.self-state.waiting { background: #ea7a0c; }
.self-form { max-width: 520px; margin: 0 auto; }
.self-add { margin-top: 1rem; }
.self-menu { width: min(1600px, calc(100vw - 24px)); max-height: calc(100vh - 16px); padding: 1rem; border: 1px solid var(--border); border-radius: 14px; background: #1a1e30; color: inherit; }
.self-menu::backdrop { background: rgba(0, 0, 0, .6); }
.self-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.self-menu-head h2 { margin: 0; }
.status-pill { display: inline-block; padding: .3rem .9rem; border-radius: 999px; font-weight: 600; background: var(--border); }
.status-pill.status-accepted, .status-pill.status-confirmed { background: #1f9d55; color: #fff; }
.status-pill.status-declined, .status-pill.status-cancelled { background: #c53030; color: #fff; }
/* the order was paid and taken on the till (owner, 2026-10-07) */
.status-pill.status-collected { background: #475569; color: #fff; }
.status-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.status-pill.status-left { background: #c53030; color: #fff; }
.client-form { max-width: 560px; }
@media (max-width: 760px) {
  .client-order { grid-template-columns: minmax(0, 1fr); }
  .client-basket { position: static; }
}
/* big screens (owner, 2026-10-12, srv-180): the order is a tall panel on the right, from under the top bar to the
   bottom of the screen; its lines scroll inside it, the total and Next always show */
@media (min-width: 1100px) {
  .client-body:has(.client-order:not([hidden])) .client-top { position: sticky; top: 0; z-index: 30; }
  .client-main:has(.client-order:not([hidden])) { --basket-w: clamp(380px, 30vw, 560px); max-width: none;
    padding-right: calc(var(--basket-w) + 2.2rem); }
  .client-main:has(.client-order:not([hidden])) > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
  .client-order { grid-template-columns: minmax(0, 1fr); }
  .client-basket { position: fixed; z-index: 20; top: calc(var(--client-top-h, 60px) + 1rem); right: 1rem; bottom: 1rem;
    width: var(--basket-w); display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
  #basket-lines { flex: 1; min-height: 0; overflow-y: auto; padding-right: .3rem; }
  .client-basket .client-total { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--border); }
  /* #375 (owner, 2026-10-28: "overlapping"): the footer and the POS2Order box keep to the left of the pinned order,
     centred under the menu like the rest of the page */
  .client-body:has(.client-order:not([hidden])) { --basket-w: clamp(380px, 30vw, 560px); }
  .client-body:has(.client-order:not([hidden])) .client-foot { padding-right: calc(var(--basket-w) + 2.2rem + 1rem); }
  .client-body:has(.client-order:not([hidden])) .client-cover { max-width: none; padding-right: calc(var(--basket-w) + 2.2rem); }
  .client-body:has(.client-order:not([hidden])) .p2o-line { padding-right: calc(var(--basket-w) + 2.2rem + 1rem); }
}
/* #431 (owner, 2026-11-07): wide screens - the basket FOLDED (the business's choice or the customer's for this visit):
   the menu takes the full width, the button in the top bar (cart, count, total) opens the basket from the right over
   the menu; a fold / keep-open control in the basket's head. Narrower screens: unchanged (none of this shows). */
.basket-head { display: flex; align-items: center; gap: .5rem; }
.basket-head h2 { margin: 0 auto 0 0; }
.client-basket .basket-head { margin-bottom: .6rem; }
.basket-toggle, .basket-fold, .basket-close, .basket-shade { display: none; }
@media (min-width: 1100px) {
  .basket-fold, .basket-close { align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; padding: 0;
    border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); cursor: pointer; font: inherit; font-size: 1.5rem; line-height: 1; }
  .basket-fold:hover, .basket-close:hover { border-color: var(--accent); color: var(--accent); }
  .basket-fold svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .basket-fold.unfold svg { transform: rotate(180deg); }
  .client-body:has(.client-order:not([hidden])) .basket-fold { display: inline-flex; }
  .client-body.basket-folded:has(.client-order:not([hidden])) .basket-close { display: inline-flex; }
  .client-body.basket-folded .client-order:not([hidden]) .basket-toggle { display: inline-flex; }
  /* the owner's design (#431 follow-up): a wide orange ORDER button just under the top bar, on the right */
  .basket-toggle { position: fixed; z-index: 43; top: calc(var(--client-top-h, 60px) + 14px); right: 1.4rem;
    align-items: center; gap: .7rem; min-width: 300px; min-height: 52px; padding: .45rem 1.3rem .45rem .6rem;
    border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent, #fff); font: inherit;
    font-weight: 800; cursor: pointer; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); }
  .basket-toggle svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22);
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .basket-toggle-word { flex: 1; text-align: center; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; }
  .basket-toggle-count:not(:empty) { padding: .2rem .7rem; border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 1rem; }
  .basket-toggle[aria-expanded="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
  .basket-toggle.pulse { animation: basket-pulse .9s ease-out; }
  /* folded: the menu over the whole width (more cards per row); the footer and the POS2Order line centred again */
  .client-body.basket-folded .client-main:has(.client-order:not([hidden])) { padding-right: 1.2rem; }
  .client-body.basket-folded .client-main:has(.client-order:not([hidden])) > * { max-width: 1680px; }
  .client-body.basket-folded:has(.client-order:not([hidden])) .client-foot { padding-right: 1rem; }
  .client-body.basket-folded:has(.client-order:not([hidden])) .client-cover { padding-right: 1.2rem; }
  .client-body.basket-folded:has(.client-order:not([hidden])) .p2o-line { padding-right: 1rem; }
  .client-body.basket-folded .client-basket { z-index: 45; visibility: hidden; transform: translateX(calc(100% + 2rem));
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
    background: linear-gradient(var(--surface), var(--surface)), var(--bg); }   /* (solid over the menu: a dark theme's glass surface too) */
  .client-body.basket-folded .client-basket.basket-open { visibility: visible; transform: none; }
  /* (it slides only once the page is drawn - never on loading a page that starts folded) */
  .client-body.basket-anim.basket-folded .client-basket { transition: transform .22s ease, visibility 0s linear .22s; }
  .client-body.basket-anim.basket-folded .client-basket.basket-open { transition: transform .22s ease; }
  /* (every part of the page is its own layer - client-body > *: the open panel's part goes above the footer) */
  .client-body.basket-folded .client-main:has(.basket-open) { z-index: 35; }
  .client-body.basket-folded .basket-shade:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 44; background: rgba(8, 10, 20, .4); }
}
@keyframes basket-pulse { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .basket-toggle.pulse { animation: none; }
  .client-body.basket-anim.basket-folded .client-basket, .client-body.basket-anim.basket-folded .client-basket.basket-open { transition: none; }
}
/* phones (srv-130): the basket's count, total and a button pinned to the bottom - the basket is under a long menu */
.basket-bar { display: none; }
@media (max-width: 760px) {
  .basket-bar:not([hidden]) { display: flex; align-items: center; gap: .8rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .12); }
  .basket-bar strong { margin-right: auto; font-size: 1.1rem; }
  body:has(.basket-bar:not([hidden])) { padding-bottom: calc(5rem + var(--trial-h, 0px)); }   /* (#414: the POS2Order line above it) */
}

/* seat booking: the opening times to choose from */
.seat-windows { display: grid; gap: .45rem; }
.seat-window { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.seat-window:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.seat-window.full { opacity: .5; cursor: not-allowed; }
.seat-window .muted { margin-left: auto; }
.client-open { margin-bottom: 1rem; }
.client-open h2 { margin: 0 0 .4rem; font-size: 1rem; }
.client-open p { margin: .15rem 0; }

/* the shop's own details on its page */
.client-text { white-space: pre-line; }
.client-info { margin-top: 1.5rem; }
.client-info h2 { font-size: 1rem; margin: .4rem 0; }
.client-info p { margin: .15rem 0; }

/* the month the customer chooses from: bookable days in blue */
.avail { margin-bottom: 1rem; }
.avail-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.avail-head .btn.disabled { opacity: .3; pointer-events: none; }
.avail-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.avail-wd { text-align: center; font-size: .75rem; font-weight: 650; color: var(--muted); }
.avail-day { display: grid; place-items: center; min-height: 2.6rem; border-radius: 10px; color: var(--muted); font-weight: 600; }
.avail-day.past { opacity: .35; }
.avail-day.open { background: #dbeafe; color: #1d4ed8; text-decoration: none; border: 2px solid #93c5fd; }
.avail-day.open:hover { background: #bfdbfe; }
.avail-day.open.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.avail-key { display: flex; align-items: center; gap: .4rem; margin: .6rem 0 0; font-size: .85rem; }
.avail-dot { display: inline-block; width: .9rem; height: .9rem; border-radius: 4px; background: #dbeafe; border: 2px solid #93c5fd; }
.avail { max-width: 520px; }

/* The pos2order.com look (owner, 2026-10-04): dark, with the orange -> pink of the main site */
.client-body {
  --bg: #0f1220; --surface: rgba(255, 255, 255, .05); --border: rgba(255, 255, 255, .12); --text: #f3f4f8;
  --muted: #a3a9be; --accent: #ff8a3d; --accent-hover: #e8467c; --on-accent: #ffffff; --link: #ffb37f;
  --focus: #ff8a3d; --ok-bg: rgba(46, 204, 113, .15); --ok-text: #7fe0b7; --bad-bg: rgba(232, 70, 124, .16);
  --bad-text: #ff9bbb; --shadow: none;
  color-scheme: dark;
  position: relative; overflow-x: hidden; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.client-body::before, .client-body::after { content: ""; position: fixed; border-radius: 50%; filter: blur(110px); pointer-events: none; z-index: 0; }
.client-body::before { width: 520px; height: 520px; background: #ff8a3d; opacity: .2; top: -220px; right: -160px; }
.client-body::after { width: 480px; height: 480px; background: #e8467c; opacity: .16; bottom: -240px; left: -180px; }
.client-body > * { position: relative; z-index: 1; }
.client-top { background: rgba(15, 18, 32, .7); backdrop-filter: blur(8px); }
.client-body .card, .client-choice { background: var(--surface); border-color: var(--border); }
.client-choice strong { background: linear-gradient(135deg, #ff8a3d 0%, #e8467c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.client-choice:hover { border-color: #ff8a3d; }
.client-body .btn-primary { background: linear-gradient(135deg, #ff8a3d 0%, #e8467c 100%); border: 0; color: #fff; }
.client-body .btn-primary:hover { filter: brightness(1.08); }
.client-body input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .client-body select, .client-body textarea { background: rgba(255, 255, 255, .06); }
.client-body .notice.warn { background: rgba(255, 138, 61, .14); color: #ffd2b5; }
/* bookable days stay blue (owner, 2026-10-03), in dark-friendly shades */
.client-body .avail-day.open { background: rgba(59, 130, 246, .2); border-color: rgba(96, 165, 250, .65); color: #bfdbfe; }
.client-body .avail-day.open:hover { background: rgba(59, 130, 246, .34); }
.client-body .avail-day.open.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.client-body .avail-dot { background: rgba(59, 130, 246, .2); border-color: rgba(96, 165, 250, .65); }
/* who runs the page */
/* the clock-style time picker on the dark client portal: a solid panel (its surface colour is see-through) */
.client-body .time-pop { background: #1a1e30; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.client-body dialog { background: #1a1e30; color: var(--text); }
/* Check my order: one section per service, its colour (owner, 2026-10-05) */
.status-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0; }
/* balanced (owner, 2026-10-05): the same height, the fields at the same level in both */
.status-section { display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--border); border-top: 5px solid var(--border); border-radius: 14px; background: var(--surface); }
.status-section h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.status-section > .muted { margin: 0 0 .9rem; min-height: 2.6em; font-size: .92rem; }
.status-section form { margin-top: auto; display: grid; gap: .2rem; }
.status-section .field { margin-bottom: .5rem; }
.status-section .btn-primary { width: 100%; }
.status-takeaway { border-top-color: #f97316; } .status-takeaway h2 { color: #f97316; }
.status-book { border-top-color: #ef4444; } .status-book h2 { color: #ef4444; }
.status-seats { border-top-color: #3b82f6; } .status-seats h2 { color: #3b82f6; }
.status-self { border-top-color: #a855f7; } .status-self h2 { color: #a855f7; }
/* each service its own colour (owner, 2026-10-05): take-away orange, table booking red, seat booking blue, Self-Order
   purple, check my order pink - over the gradient titles above */
.client-choice.choice-takeaway strong { background: none; -webkit-text-fill-color: #f97316; color: #f97316; }
.client-choice.choice-takeaway:hover { border-color: #f97316; }
.client-choice.choice-book strong { background: none; -webkit-text-fill-color: #ef4444; color: #ef4444; }
.client-choice.choice-book:hover { border-color: #ef4444; }
.client-choice.choice-seats strong { background: none; -webkit-text-fill-color: #3b82f6; color: #3b82f6; }
.client-choice.choice-seats:hover { border-color: #3b82f6; }
.client-choice.choice-self strong { background: none; -webkit-text-fill-color: #a855f7; color: #a855f7; }
.client-choice.choice-self:hover { border-color: #a855f7; }
/* switched off in Sales mode (owner, 2026-10-06): greyed out, nothing to press */
.client-comment textarea { min-height: 3.2rem; }
.client-choice.is-closed { opacity: .55; filter: grayscale(1); cursor: not-allowed; }
.client-choice.is-closed:hover { border-color: var(--border); }
.client-choice.choice-status strong { background: none; -webkit-text-fill-color: #ec4899; color: #ec4899; }
.client-choice.choice-status:hover { border-color: #ec4899; }

/* Check my order (owner, 2026-10-07): the old ones behind a button; the shop's comment */
.status-old { margin-top: 1rem; text-align: center; }
/* centred and blue (owner, 2026-10-07) */
.client-body .status-old > summary.btn, .status-old > summary { list-style: none; display: inline-block; cursor: pointer; background: #2563eb; border-color: #2563eb; color: #fff; }
.client-body .status-old > summary.btn:hover, .status-old > summary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.status-old > .client-status-result { text-align: initial; }
.status-old > summary::-webkit-details-marker { display: none; }
.status-old[open] > summary { margin-bottom: .6rem; }
.shop-note { text-align: left; }
/* made, come and collect (owner, 2026-10-07) */
.status-pill.status-ready { background: #0f766e; color: #fff; }

/* the online branches to choose from, and the chosen one under the top bar (owner, 2026-10-14, srv-236) */
.client-branches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1rem; }
.client-branch { display: grid; gap: .35rem; align-content: start; }
.client-branch.is-chosen { border-color: #ff8a3d; }
.client-branch-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.client-branch-head h2 { margin: 0; font-size: 1.2rem; }
.client-branch p { margin: 0; }
.client-branch-offers { display: flex; flex-wrap: wrap; gap: .3rem; }
.client-branch-go { justify-self: start; margin-top: .4rem; }
.client-branch-status { text-align: center; margin-top: 1.2rem; }
.client-branch-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; padding: .4rem 1rem; font-size: .95rem; border-bottom: 1px solid var(--border); background: var(--surface); }

/* the page's cover photo (#379 step 3): a wide banner under the top bar */
.client-cover { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 0 1.2rem; }
.client-cover img { display: block; width: 100%; height: clamp(120px, 22vw, 280px); object-fit: cover; border-radius: 16px; }

/* ---- #379 step 4: "Food Template 1" (body.tpl-food1) - the same page, its items as cards under their category ---- */
.tpl-food1 .client-items { display: block; }
.tpl-food1 .client-cats { position: sticky; top: var(--food-bar-top, 0); z-index: 6; margin: 0 -1.2rem; padding: .6rem 1.2rem;
  background: var(--bg); border-bottom: 1px solid var(--border); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tpl-food1 .client-cats::-webkit-scrollbar { display: none; }
.tpl-food1 .client-cats .client-cat { flex: none; }
.food-section { scroll-margin-top: calc(var(--food-bar-top, 0px) + 4.5rem); }
.food-heading { margin: 1.6rem 0 .8rem; font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.food-card { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: .9rem; align-items: start; min-height: 150px;
  padding: .9rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); cursor: pointer;
  transition: border-color .15s, transform .15s; }
.food-card:hover, .food-card:focus-visible { border-color: var(--accent); outline: none; }
.food-words { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.food-card .food-name { margin: 0; font-size: 1.05rem; font-weight: 750; line-height: 1.25; color: var(--text);
  text-transform: none; letter-spacing: normal; }
.food-text { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; }
.food-price { margin: .1rem 0 0; font-weight: 800; color: var(--text); }
.food-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.food-tag { padding: .12rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text);
  font-size: .72rem; font-weight: 700; }
.food-tag.tag-popular { background: var(--accent); color: var(--on-accent); }
.food-tag.tag-spicy { background: rgba(239, 68, 68, .22); color: #fca5a5; }
.food-tag.tag-vegan, .food-tag.tag-vegetarian { background: rgba(34, 197, 94, .2); color: #86efac; }
.food-pic { position: relative; width: 128px; height: 128px; border-radius: 14px; overflow: visible; }
.food-pic img { display: block; width: 128px; height: 128px; object-fit: cover; border-radius: 14px; }
.food-pic.no-photo { display: grid; place-items: center; background: rgba(255, 255, 255, .06); border-radius: 14px; }
.food-pic .food-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 0; }
.food-letter { font-size: 2.6rem; font-weight: 800; color: var(--muted); }
.food-add { position: absolute; right: -8px; bottom: -8px; width: 44px; height: 44px; border: 3px solid var(--bg);
  border-radius: 50%; background: var(--accent); color: var(--on-accent); font: inherit; font-size: 1.5rem; font-weight: 800;
  line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.food-add:hover { filter: brightness(1.1); }
@media (max-width: 640px) {
  .food-card { grid-template-columns: minmax(0, 1fr) 104px; min-height: 124px; }
  .food-pic, .food-pic img { width: 104px; height: 104px; }
}
@media (min-width: 1100px) {        /* the top bar stays on top while ordering: the category bar sits under it */
  .client-body:has(.client-order:not([hidden])).tpl-food1 { --food-bar-top: var(--client-top-h, 60px); }
}
/* #439 (owner, 2026-11-10: faded colour pills, "not the best"): Food Template 1's categories - readable: plain
   surfaces, the text 4.5:1, the category's colour only as the picture's ring. A phone: a sticky row of chips;
   wide (900 px+): a sticky list on the left, the category in view highlighted. */
.client-body.tpl-food1 { --nav-bg: #1b2034; --nav-panel: #151a2c; --nav-on: #3a2e2c; --nav-pic-bg: #262c45; }
.tpl-food1 .client-cats.food-nav { gap: .45rem; align-items: center; }
.food-nav-item { flex: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .25rem .95rem .25rem .3rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--nav-bg); color: var(--text); font: inherit; font-weight: 700;
  cursor: pointer; white-space: nowrap; }
.food-nav-item:hover { border-color: var(--accent); }
.food-nav-item.on { border-color: var(--accent); background: var(--accent); color: var(--opt-on-accent, var(--on-accent)); }
.food-nav-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.food-nav .food-nav-pic, .food-cat-card .food-cat-card-pic { display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  overflow: hidden; border: 2px solid var(--c, var(--border)); border-radius: 50%; background: var(--nav-pic-bg); color: var(--text); }
.food-nav-pic img, .food-cat-card-pic img { width: 100%; height: 100%; object-fit: cover; }
.food-nav-letter { font-size: .95rem; font-weight: 800; color: var(--text); }
.food-nav .food-nav-all { font-size: 1rem; }
.food-nav-groups { display: none; }
.tpl-food1 .client-cats.client-groups { position: static; margin: 0; border: 0; background: transparent; }   /* (not a second sticky bar) */
.food-groups-row { grid-column: 1 / -1; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .1rem 0 .3rem; }
.food-groups-row[hidden] { display: none; }
.food-group { flex: none; min-height: 38px; padding: 0 .85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--nav-bg);
  color: var(--text); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.food-group.on { border-color: var(--accent); background: var(--accent); color: var(--opt-on-accent, var(--on-accent)); }
/* the page's top (Online portal > Most ordered, off by default) */
.food-top-row { display: flex; gap: .8rem; overflow-x: auto; padding: .2rem 1rem .9rem .2rem; scrollbar-width: thin; }
.food-top-card { flex: none; width: 170px; padding: .6rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; }
.food-top-card:hover, .food-top-card:focus-visible { border-color: var(--accent); outline: none; }
.food-top-pic { position: relative; display: grid; place-items: center; height: 120px; border-radius: 10px; background: var(--nav-pic-bg); }
.food-top-pic img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.food-top-card .food-price { margin: .55rem 0 .1rem; }
.food-top-name { margin: 0; font-weight: 650; color: var(--text); line-height: 1.25; }
.food-cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.food-cat-card { display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .45rem .7rem; border: 1px solid var(--border);
  border-radius: 12px; background: var(--nav-bg); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.food-cat-card:hover { border-color: var(--accent); }
.food-cat-card .food-cat-card-pic { width: 42px; height: 42px; }
@media (min-width: 900px) {
  .tpl-food1 .client-order { grid-template-columns: 230px minmax(0, 1fr) 340px; column-gap: 1.3rem; }
  .tpl-food1 .client-cats.food-nav { grid-column: 1; grid-row: 1 / span 20; position: sticky; top: calc(var(--food-bar-top, 0px) + 1rem);
    flex-direction: column; align-items: stretch; gap: .15rem; max-height: calc(100dvh - var(--food-bar-top, 0px) - 2rem);
    overflow-x: hidden; overflow-y: auto; margin: 0; padding: .45rem; border: 1px solid var(--border); border-radius: 16px;
    background: var(--nav-panel); scrollbar-width: thin; }
  .tpl-food1 .client-search, .tpl-food1 #client-items { grid-column: 2; }
  .tpl-food1 .food-groups-row { display: none; }
  .tpl-food1 .client-basket { grid-column: 3; grid-row: 1 / span 20; }
  .food-nav .food-nav-item { width: 100%; min-height: 48px; padding: .3rem .6rem; border-color: transparent; border-radius: 10px;
    background: transparent; white-space: normal; text-align: left; }
  .food-nav .food-nav-item:hover { background: var(--nav-bg); border-color: transparent; }
  .food-nav .food-nav-item.on { background: var(--nav-on); color: var(--text); font-weight: 800; border-color: transparent;
    box-shadow: inset 4px 0 0 var(--accent); }
  .food-nav .food-nav-pic { width: 36px; height: 36px; }
  .food-nav .food-nav-groups { display: flex; flex-direction: column; gap: .15rem; padding: .1rem 0 .4rem 3.1rem; }
  .food-nav-groups .food-group { justify-content: flex-start; min-height: 36px; border-color: transparent; background: transparent; text-align: left; }
  .food-nav-groups .food-group.on { border-color: var(--accent); background: var(--nav-bg); color: var(--text); }
  .food-section { scroll-margin-top: calc(var(--food-bar-top, 0px) + 1rem); }
}
@media (min-width: 1100px) {
  .tpl-food1 .client-order { grid-template-columns: 240px minmax(0, 1fr); }
}
/* the item's window (a tap on its card): its photo, description, tags, price - then its options as before */

/* a preview of the page's look (#379 step 5): said on top */
.client-preview { position: fixed; z-index: 60; left: 1rem; bottom: 1rem; max-width: min(420px, calc(100vw - 2rem)); margin: 0;
  padding: .55rem .9rem; border-radius: 12px; background: #7c3aed; color: #fff; font-weight: 700; font-size: .85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); pointer-events: none; }

/* the Online Shop (#382 step 2): filters, the products as cards ("Simple": compact rows); a sold-out product / size
   stays shown, greyed */
.client-choice.choice-shop strong { background: none; -webkit-text-fill-color: #14b8a6; color: #14b8a6; }
.client-choice.choice-shop:hover { border-color: #14b8a6; }
.shop-filters { display: grid; gap: .7rem; margin-bottom: 1rem; }
.shop-cats .client-cat { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; }
.shop-cats .client-cat.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.shop-more summary { cursor: pointer; font-weight: 700; }
.shop-filter-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-top: .6rem; }
.shop-filter-grid label { display: grid; gap: .25rem; font-weight: 600; }
.shop-values { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: .5rem; border: 1px solid var(--border); border-radius: 10px; }
.shop-values legend { font-weight: 700; padding: 0 .3rem; }
.shop-values .shop-value { display: inline-flex; align-items: center; gap: .3rem; font-weight: 500; }
.shop-bar { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
.shop-bar label { display: grid; gap: .25rem; font-weight: 600; }
.shop-items.shop-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.shop-items.shop-rows { display: grid; gap: .6rem; }
.shop-item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.shop-rows .shop-item { flex-direction: row; align-items: center; }
.shop-pic { aspect-ratio: 1; display: grid; place-items: center; background: rgba(255, 255, 255, .04); }
.shop-rows .shop-pic { flex: none; width: 88px; }
.shop-pic img { width: 100%; height: 100%; object-fit: cover; }
.shop-pic img.shop-icon { width: 60%; height: auto; object-fit: contain; }
.shop-body { padding: .7rem .8rem .9rem; min-width: 0; }
.shop-brand { margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.shop-name { margin: .1rem 0 .3rem; font-size: 1rem; overflow-wrap: anywhere; }
.shop-price { margin: 0; font-weight: 800; color: var(--accent); }
.shop-stock { margin: .3rem 0 0; font-size: .85rem; font-weight: 700; }
.shop-stock.few { color: #f59e0b; } .shop-stock.out { color: #ef4444; } .shop-stock.adults { color: var(--muted); }
.shop-variants { display: flex; flex-wrap: wrap; gap: .3rem; margin: .45rem 0 0; }
.shop-variant { padding: .1rem .45rem; border: 1px solid var(--border); border-radius: 6px; font-size: .8rem; }
.shop-variant.out { opacity: .4; text-decoration: line-through; }
.shop-item.sold-out .shop-pic, .shop-item.sold-out .shop-price { opacity: .5; }
/* a product's page (#382 step 3) */
a.shop-item { color: inherit; text-decoration: none; }
a.shop-item:hover { border-color: var(--accent); }
.shop-product { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .shop-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.product-main { display: block; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .04); }
.product-main img { display: block; width: 100%; height: auto; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.product-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.product-name { margin: .1rem 0 .4rem; overflow-wrap: anywhere; }
.product-price { font-size: 1.4rem; }
.product-choose { margin: .8rem 0 .3rem; font-weight: 700; }
.product-variants { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-variants .shop-variant { padding: .35rem .7rem; font-size: .95rem; color: var(--text); text-decoration: none; }
.product-variants .shop-variant.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.product-text { margin-top: 1rem; white-space: pre-line; }
.product-chart { margin-top: 1rem; }
.product-chart summary { cursor: pointer; font-weight: 700; }
.product-chart img { max-width: 100%; height: auto; margin-top: .5rem; border-radius: 8px; }
.chart-text { overflow-x: auto; white-space: pre; font: inherit; font-variant-numeric: tabular-nums; }
/* Click & Collect (#382 step 4): the basket */
.shop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.product-add { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin-top: .8rem; }
.product-add label { display: grid; gap: .25rem; font-weight: 600; }
.basket-card { display: grid; gap: .6rem; }
.basket-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .6rem; align-items: center;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.basket-what { min-width: 0; overflow-wrap: anywhere; }
.basket-qty { display: flex; gap: .3rem; align-items: center; }
.basket-sum { font-weight: 700; text-align: right; }
@media (max-width: 520px) { .basket-row { grid-template-columns: minmax(0, 1fr) auto; } .basket-qty { grid-column: 1 / -1; } }
.client-code strong { font-size: 1.4rem; letter-spacing: .06em; }
.shop-head-links { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
/* #414 (owner, 2026-11-02): "Powered by POS2Order - See what we do" - one thin line at the very end of the page (the
   body is a full-height column: on a short page it sits at the bottom of the screen), never wrapping, never fixed */
.p2o-line { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 38px; margin-top: .5rem;
  padding: .3rem 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; line-height: 1.2;
  white-space: nowrap; overflow: hidden; }
.p2o-line a { color: inherit; text-decoration: none; }
.p2o-line a:hover { text-decoration: underline; }
.p2o-line-brand { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; }
.p2o-line-brand span { overflow: hidden; text-overflow: ellipsis; }
.p2o-line b { color: var(--text); font-weight: 750; }
.p2o-line b i { font-style: normal; color: #e8467c; }
.p2o-line-see { flex: none; font-weight: 600; }
.p2o-mark { width: 18px; height: 18px; flex: none; }
@media (max-width: 400px) { .p2o-line { font-size: .74rem; gap: .3rem; } .p2o-line .p2o-mark { display: none; } }

/* THE ITEM WINDOW (#438, owner 2026-11-10: "hard to read ... this colour is not the best, make it better"; ideas from
   a delivery app, nothing copied): a solid, lighter window over a strongly dimmed page; the name big, its words and
   price, an X; the options as tiles with a big tick, "comes with" a tag; two columns when wide; only the middle
   scrolls - the bar (Back, - 1 +, one Add with the total) always shows. Text 4.5:1 or more in every look. */
.client-body {
  --opt-bg: #1e2338; --opt-text: #f5f6fa; --opt-muted: #cdd2e0; --opt-border: rgba(255, 255, 255, .18);
  --opt-tile: #272d47; --opt-tile-on: #3a3448; --opt-tag-bg: #3b4263; --opt-backdrop: rgba(4, 6, 14, .76);
}
.client-body:not(.has-brand) { --opt-on-accent: #1b1206; }   /* (the orange: dark text on it - white was 2.4:1) */
.client-extras { position: fixed; width: min(720px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--opt-border); border-radius: 18px; background: var(--opt-bg); color: var(--opt-text);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55); overflow: hidden; }
.client-extras[open] { display: flex; flex-direction: column; }
.client-body dialog.client-extras { background: var(--opt-bg); color: var(--opt-text); }   /* (over the page's dark dialog rule) */
.client-extras::backdrop { background: var(--opt-backdrop); }
.client-extras .opt-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.client-extras .opt-head { padding: 1.2rem 1.3rem .8rem; padding-right: 4rem; border-bottom: 1px solid var(--opt-border); }
.client-extras .detail-photo { display: block; width: calc(100% + 5.3rem); max-width: none; max-height: 280px; object-fit: cover;
  margin: -1.2rem -4rem .9rem -1.3rem; }
.client-extras h2 { margin: 0 0 .35rem; font-size: 1.5rem; line-height: 1.2; color: var(--opt-text); }
.client-extras .detail-text { margin: .1rem 0 .5rem; color: var(--opt-muted); line-height: 1.5; }
.client-extras .detail-price { margin: .4rem 0 .2rem; font-size: 1.2rem; font-weight: 800; color: var(--opt-text); }
.client-extras .opt-help { margin: .5rem 0 0; font-size: .9rem; color: var(--opt-muted); }
.client-extras .opt-close { position: absolute; z-index: 3; top: .7rem; right: .7rem; display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: rgba(10, 12, 22, .62); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.client-extras .opt-close:hover, .client-extras .opt-close:focus-visible { background: rgba(10, 12, 22, .85); }
.client-extras .opt-body { padding: .6rem 1.3rem 1.1rem; }
.client-extras h3 { margin: .7rem 0 .55rem; font-size: 1.08rem; font-weight: 800; color: var(--opt-text); text-transform: none; letter-spacing: normal; }
.client-extras .opt-tiles { list-style: none; margin: 0 0 .4rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.client-extras .opt-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .65rem;
  min-height: 52px; padding: .55rem .8rem; border: 2px solid var(--opt-border); border-radius: 12px; background: var(--opt-tile);
  color: var(--opt-text); cursor: pointer; }
.client-extras .opt-tile.on { border-color: var(--accent); background: var(--opt-tile-on); }
.client-extras .opt-tile:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.client-extras .opt-name { font-weight: 650; overflow-wrap: anywhere; }
.client-extras .opt-tag { padding: .15rem .55rem; border-radius: 999px; background: var(--opt-tag-bg); color: var(--opt-text);
  font-size: .78rem; font-weight: 700; white-space: nowrap; }
.client-extras .opt-price:empty { display: none; }
.client-extras .opt-check { appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 26px; height: 26px;
  margin: 0; border: 2px solid var(--opt-muted); border-radius: 7px; background: transparent; cursor: pointer; }
.client-extras .opt-check:checked { border-color: var(--accent); background: var(--accent); }
.client-extras .opt-check:checked::after { content: ""; width: 12px; height: 7px; margin-top: -3px;
  border-left: 3px solid var(--opt-on-accent, var(--on-accent)); border-bottom: 3px solid var(--opt-on-accent, var(--on-accent)); transform: rotate(-45deg); }
.client-extras .opt-bar { flex: none; display: flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem;
  border-top: 1px solid var(--opt-border); background: var(--opt-bg); }
.client-extras .opt-back { min-height: 48px; }
.client-extras .opt-qty { display: flex; align-items: center; gap: .15rem; padding: .15rem; border: 2px solid var(--opt-border); border-radius: 999px; }
.client-extras .opt-qty[hidden] { display: none; }
.client-extras .opt-qty button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--opt-text); font: inherit; font-size: 1.4rem; font-weight: 800; cursor: pointer; }
.client-extras .opt-qty button:disabled { opacity: .35; cursor: default; }
.client-extras .opt-qty-n { min-width: 1.6rem; text-align: center; font-weight: 800; font-size: 1.1rem; }
.client-extras .opt-add, .client-body .client-extras .btn-primary.opt-add { flex: 1; min-width: 0; min-height: 52px; background: var(--accent);
  color: var(--opt-on-accent, var(--on-accent)); font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
@media (max-width: 600px) {
  .client-extras { width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .client-extras .opt-tiles { grid-template-columns: minmax(0, 1fr); }
  /* a phone: Back and - 1 + on top, the Add button the whole width under them (every language fits) */
  .client-extras .opt-bar { flex-wrap: wrap; padding: .6rem .9rem calc(.7rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .client-extras .opt-qty { margin-left: auto; }
  .client-extras .opt-add, .client-body .client-extras .btn-primary.opt-add { flex: 1 0 100%; order: 3; }
  .client-extras .opt-head, .client-extras .opt-body { padding-left: 1rem; }
  .client-extras .detail-photo { width: calc(100% + 5rem); margin-left: -1rem; }
}
