/* Transit dish window redesign (layout + look only; same buttons and behaviour).
   Used for dishes with an image (.dish-v2). The rolls builder and the sauces window keep their own layout.
   Revert: restore backups/before-dish-modal-2026-11-27 */

.modal.dish-v2{
  --dm-pad:28px;--dm-line:#efe6d6;
  width:min(960px,100%);height:min(620px,calc(var(--desktop-height,100dvh) - 32px));max-height:calc(var(--desktop-height,100dvh) - 32px);
  padding:0;overflow:hidden;border:1px solid #e6dccb;border-radius:26px;background:#fffdf9;
  box-shadow:0 30px 90px #0307126b
}
.modal.dish-v2 .dish-layout{display:grid;grid-template-columns:minmax(300px,45%) minmax(0,1fr);height:100%}

/* image side */
.modal.dish-v2 .dish-hero{position:relative;overflow:hidden;background:#d9cbb4}
.modal.dish-v2 .dish-hero .dish-img{
  position:absolute;inset:0;width:100%;height:100%;max-height:none;aspect-ratio:auto;
  object-fit:cover;border-radius:0;margin:0;display:block
}
.modal.dish-v2 .dish-hero::after{content:"";position:absolute;inset:auto 0 0;height:30%;background:linear-gradient(transparent,#14100a29);pointer-events:none}

/* content side */
.modal.dish-v2 .dish-body{display:flex;flex-direction:column;min-width:0;overflow:auto;overscroll-behavior:contain}
.modal.dish-v2 .dish-head{
  display:block;min-height:0;padding:calc(var(--dm-pad) + 12px) var(--dm-pad) 18px;
  background:none!important;border:0
}
.modal.dish-v2 .dish-info h2{
  margin:0 0 10px;padding-inline-end:44px;font-size:clamp(24px,2.6vw,32px);line-height:1.15;
  font-weight:800;color:var(--ink-strong,#141a2e);letter-spacing:-.01em;text-align:right
}
.modal.dish-v2 .dish-info .desc{margin:0 0 12px;font-size:15px;line-height:1.65;color:#5c5442;text-align:right}
.modal.dish-v2 .dish-info .sauce-allowance{
  display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;
  background:#f3ece0;color:#554832;font-size:12.5px;font-weight:700
}
.modal.dish-v2 .dish-info .tags{margin-top:10px}
.modal.dish-v2 .dish-head .price-big{
  display:inline-block;margin-top:16px;min-width:0;padding:4px 18px;border-radius:999px;
  font-size:22px;line-height:1.5;font-weight:800;border:1px solid #efd3a0;
  background:var(--accent-soft,#fbefd6)!important;color:var(--accent-deep,#8a5a12)!important
}

/* options */
.modal.dish-v2 .og{padding:18px var(--dm-pad) 20px;border-top:1px solid var(--dm-line);border-bottom:0;background:none}
.modal.dish-v2 .dish-steps{margin-top:auto;padding:12px var(--dm-pad);border-top:1px solid var(--dm-line);border-bottom:0;background:#fffaf0}
.modal.dish-v2 .dish-steps + .dish-foot{margin-top:0}

/* footer: note on its own line, then back + add — always at the bottom */
.modal.dish-v2 .dish-foot{
  position:sticky;bottom:0;z-index:2;margin-top:auto;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;
  padding:16px var(--dm-pad) 20px;border-top:1px solid var(--dm-line);
  background:#fffdf9f2!important;backdrop-filter:blur(6px)
}
.modal.dish-v2 .dish-foot #itNote{
  grid-column:1 / -1;width:100%;min-height:44px;padding:8px 16px;
  border:1.5px solid #e6dccb;border-radius:14px;background:#fff;font-size:14px
}
.modal.dish-v2 .dish-foot #itNote:focus{outline:none;border-color:var(--accent,#e3a43c);box-shadow:0 0 0 3px #e3a43c33}
.modal.dish-v2 .dish-foot :is(.dish-cancel,.add-btn){min-height:50px;border-radius:14px;font-size:16px;font-weight:800}
.modal.dish-v2 .dish-foot .dish-cancel{background:transparent;border:1.5px solid #e2d6bf;color:var(--ink-strong,#141a2e)}
.modal.dish-v2 .dish-foot .dish-cancel:hover{background:#f6efe2}

/* close button */
.modal.dish-v2 > .x{
  position:absolute;top:16px;left:16px;z-index:5;width:38px;height:38px;
  display:grid;place-items:center;padding:0;font-size:22px;line-height:1;
  background:#fffdf9;border:1px solid #e6dccb;border-radius:50%;color:var(--ink-strong,#141a2e);
  box-shadow:0 4px 14px #2b24171f
}
.modal.dish-v2 > .x:hover{background:#f6efe2}

/* phones and narrow windows: image on top, everything scrolls together */
@media (max-width:820px){
  .modal.dish-v2{--dm-pad:18px;height:auto;max-height:94dvh;overflow:auto;border-radius:24px 24px 0 0}
  .modal.dish-v2 .dish-steps{margin-top:0}
  .modal.dish-v2 .dish-layout{display:block;height:auto}
  .modal.dish-v2 .dish-hero{aspect-ratio:16/10;max-height:40vh}
  .modal.dish-v2 .dish-body{overflow:visible;display:block}
  .modal.dish-v2 .dish-head{padding-top:18px}
  .modal.dish-v2 .dish-info h2{padding-inline-end:0}
  .modal.dish-v2 > .x{position:absolute;background:#fffdf9e6}
  .modal.dish-v2 .dish-foot{padding-bottom:max(16px,env(safe-area-inset-bottom))}
}

/* ---- refinement v3 ---- */
.modal.dish-v2{background:#fffdf9;border-color:#eadfca}
/* photo as an inset card */
.modal.dish-v2 .dish-hero{margin:12px;margin-inline-end:0;border-radius:18px;box-shadow:inset 0 0 0 1px #00000014}
.modal.dish-v2 .dish-hero::after{height:38%;background:linear-gradient(transparent,#14100a33)}
/* header */
.modal.dish-v2 .dish-head{padding-bottom:20px}
.modal.dish-v2 .dish-info h2{font-size:clamp(25px,2.7vw,31px);margin-bottom:8px}
.modal.dish-v2 .dish-info .desc{font-size:14.5px;color:#6a604c;margin-bottom:14px;max-width:46ch}
.modal.dish-v2 .dish-info :is(.sauce-allowance,.tags){vertical-align:middle}
.modal.dish-v2 .dish-info .sauce-allowance{margin-inline-end:6px}
.modal.dish-v2 .dish-head .price-big{margin-top:14px;font-size:21px;padding:3px 16px}
/* option groups: section label with a small accent bar */
.modal.dish-v2 .og{border-top-color:#f1e9da}
.modal.dish-v2 .og h4{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;color:#3a3326;margin-bottom:12px}
.modal.dish-v2 .og h4::before{content:"";width:4px;height:16px;border-radius:4px;background:var(--accent,#e3a43c)}
/* step indicator */
.modal.dish-v2 .dish-steps{border-top-color:#f1e9da;background:#fffaf0}
/* footer */
.modal.dish-v2 .dish-foot{gap:10px 12px;border-top-color:#f1e9da;box-shadow:0 -10px 24px #fffdf9}
.modal.dish-v2 .dish-foot #itNote{min-height:42px;border-color:#ebe2d1;background:#fffdfa}
.modal.dish-v2 .dish-foot :is(.dish-cancel,.add-btn){min-height:52px}
.modal.dish-v2 .dish-foot .add-btn{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px}
.modal.dish-v2 .dish-foot .add-btn:not(:has(.add-price)){justify-content:center}
.modal.dish-v2 .dish-foot .add-btn .add-price{padding:3px 10px;border-radius:999px;background:#ffffff59;font-size:15px;font-weight:800}
.modal.dish-v2 > .x{top:22px;left:22px}
@media (max-width:820px){
  .modal.dish-v2 .dish-hero{margin:0;border-radius:0;box-shadow:none}
  .modal.dish-v2 > .x{top:12px;left:12px}
}

/* ---- fix: sections never squash each other inside the scrolling column ---- */
.modal.dish-v2 .dish-body > *{flex-shrink:0}

/* ---- pick-your-rolls trays: photo cards with a stepper ---- */
.modal.dish-v2 .og h4 .pick-count{
  margin-inline-start:auto;padding:3px 11px;border-radius:999px;background:#f3ece0;color:#554832;
  font-size:13px;font-weight:800;direction:ltr;unicode-bidi:isolate;transition:background-color .2s,color .2s
}
.modal.dish-v2 .og h4 .pick-count.full{background:var(--accent,#e3a43c);color:var(--ink-strong,#141a2e)}
.modal.dish-v2 .og .chs:has(.pick-card){display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.modal.dish-v2 .pick-card{
  position:relative;display:flex;flex-direction:column;overflow:hidden;
  border:1.5px solid #e6dccb;border-radius:16px;background:#fffdf9;
  box-shadow:0 1px 2px #2b24170d;transition:border-color .2s,box-shadow .2s,transform .2s
}
.modal.dish-v2 .pick-card:hover{border-color:#e3a43c;box-shadow:0 6px 16px #b77a1a1f}
.modal.dish-v2 .pick-card.on{border-color:var(--accent,#e3a43c);background:var(--accent-soft,#fbefd6);box-shadow:0 6px 16px #b77a1a26}
.modal.dish-v2 .pick-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#efe6d6}
.modal.dish-v2 .pick-ph{background:linear-gradient(135deg,#f3ece0,#e8dcc6)}
.modal.dish-v2 .pick-name{padding:8px 10px 2px;font-size:13.5px;font-weight:700;line-height:1.25;color:#2f2a20;text-align:center;min-height:2.6em;display:grid;place-items:center}
.modal.dish-v2 .pick-qty{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:6px 8px 9px}
.modal.dish-v2 .pick-btn{
  flex:none;width:32px;height:32px;display:grid;place-items:center;padding:0;border-radius:50%;
  border:1.5px solid #e2d6bf;background:#fff;color:var(--ink-strong,#141a2e);font-size:18px;font-weight:700;line-height:1;cursor:pointer;
  transition:background-color .15s,border-color .15s,transform .1s
}
.modal.dish-v2 .pick-btn[data-step-count="1"]{background:var(--accent,#e3a43c);border-color:var(--accent,#e3a43c)}
.modal.dish-v2 .pick-btn:hover{border-color:var(--accent,#e3a43c)}
.modal.dish-v2 .pick-btn:active{transform:scale(.9)}
.modal.dish-v2 .pick-card:not(.on) .pick-btn[data-step-count="-1"]{opacity:.35;pointer-events:none}
.modal.dish-v2 .pick-qty input[data-count]{
  width:40px;min-height:30px;margin:0;padding:0;border:0;background:transparent;text-align:center;
  font-size:16px;font-weight:800;color:var(--ink-strong,#141a2e);-moz-appearance:textfield;appearance:textfield
}
.modal.dish-v2 .pick-qty input[data-count]::-webkit-inner-spin-button,
.modal.dish-v2 .pick-qty input[data-count]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media (max-width:820px){
  .modal.dish-v2 .og .chs:has(.pick-card){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}
/* trays get a wider window so three roll cards fit per row */
.modal.dish-v2:has(.pick-card){width:min(1120px,100%)}
.modal.dish-v2:has(.pick-card) .dish-layout{grid-template-columns:minmax(260px,34%) minmax(0,1fr)}
@media (max-width:820px){.modal.dish-v2:has(.pick-card) .dish-layout{display:block}}

/* the whole dish photo is always visible: fitted on top of a soft blurred copy that fills the frame */
.modal.dish-v2 .dish-hero .dish-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:blur(26px) saturate(1.05) brightness(.92);transform:scale(1.18);pointer-events:none
}
.modal.dish-v2 .dish-hero .dish-img{object-fit:contain;z-index:1;filter:drop-shadow(0 10px 24px #0000002e)}
.modal.dish-v2 .dish-hero::after{z-index:2}
@media (max-width:820px){.modal.dish-v2 .dish-hero{aspect-ratio:3/2;max-height:46vh}}
/* fill around the fitted photo matches the warm stone backdrop of the dish photos */
.modal.dish-v2 .dish-hero{background:radial-gradient(70% 55% at 0% 0%,#e8964f 0%,#e8964f00 70%),linear-gradient(180deg,#7f5e47,#87664f)}
.modal.dish-v2 .dish-hero .dish-hero-bg{display:none}
.modal.dish-v2 .dish-hero .dish-img{filter:none}
.modal.dish-v2 .dish-hero::after{display:none}

/* ---- v8: the whole photo, at its own proportions, no fill around it ---- */
.modal.dish-v2{width:min(1100px,100%);height:auto;max-height:calc(var(--desktop-height,100dvh) - 32px);overflow:auto}
.modal.dish-v2 .dish-layout,.modal.dish-v2:has(.pick-card) .dish-layout{
  grid-template-columns:minmax(0,55%) minmax(0,1fr);height:auto;align-items:start
}
.modal.dish-v2 .dish-hero{
  margin:14px;margin-inline-end:0;border-radius:18px;overflow:hidden;background:none!important;box-shadow:none;align-self:start
}
.modal.dish-v2 .dish-hero .dish-img{position:static;width:100%;height:auto;max-height:none;object-fit:initial;aspect-ratio:auto;display:block}
/* the text column is as tall as the photo and scrolls inside it */
.modal.dish-v2 .dish-body{contain:size;align-self:stretch;min-height:440px}

/* ---- tidy product text ---- */
.modal.dish-v2 .dish-head{padding:calc(var(--dm-pad) + 6px) var(--dm-pad) 18px}
.modal.dish-v2 .dish-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-inline-end:46px;margin-bottom:10px}
.modal.dish-v2 .dish-title-row h2{margin:0;padding:0;flex:1;font-size:clamp(23px,2.4vw,29px);line-height:1.2}
.modal.dish-v2 .dish-title-row .price-big{flex:none;margin:2px 0 0;font-size:19px;padding:2px 14px}
.modal.dish-v2 .dish-info .desc{margin:0 0 10px;font-size:15px;line-height:1.6;color:#4e4637;max-width:none}
.modal.dish-v2 .desc-notes{list-style:none;margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#f7f1e6;display:grid;gap:5px}
.modal.dish-v2 .desc-notes li{position:relative;padding-inline-start:14px;font-size:13px;line-height:1.5;color:#6a604c}
.modal.dish-v2 .desc-notes li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:5px;height:5px;border-radius:50%;background:var(--accent,#e3a43c)}
.modal.dish-v2 .dish-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.modal.dish-v2 .dish-meta:empty{display:none}
.modal.dish-v2 .dish-meta .tags{margin:0;display:contents}
.modal.dish-v2 .dish-meta .sauce-allowance{margin:0}

@media (max-width:820px){
  .modal.dish-v2{height:auto}
  .modal.dish-v2 .dish-layout{display:block}
  .modal.dish-v2 .dish-hero{margin:0;border-radius:0;aspect-ratio:auto;max-height:none}
  .modal.dish-v2 .dish-body{contain:none;min-height:0}
  .modal.dish-v2 .dish-title-row{padding-inline-end:0}
}
/* v9: roomier text column; photo stays whole and sits centred beside it */
.modal.dish-v2 .dish-layout,.modal.dish-v2:has(.pick-card) .dish-layout{grid-template-columns:minmax(0,50%) minmax(0,1fr);align-items:center}
.modal.dish-v2 .dish-hero{align-self:center;margin:16px;margin-inline-end:0}
.modal.dish-v2 .dish-body{min-height:min(560px,calc(var(--desktop-height,100dvh) - 60px))}
@media (max-width:820px){.modal.dish-v2 .dish-body{min-height:0}.modal.dish-v2 .dish-hero{margin:0}}

/* ---- roll details on the tray cards: tap the i to flip the photo into a description ---- */
.modal.dish-v2 .pick-media{position:relative;overflow:hidden}
.modal.dish-v2 .pick-info{
  position:absolute;top:8px;inset-inline-end:8px;z-index:3;width:28px;height:28px;padding:0;border-radius:50%;
  display:grid;place-items:center;border:1px solid #ffffffb3;background:#fffdf9e6;color:var(--ink-strong,#141a2e);
  font:italic 800 14px/1 Georgia,'Times New Roman',serif;cursor:pointer;box-shadow:0 3px 10px #0000002e;
  transition:transform .2s,background-color .2s
}
.modal.dish-v2 .pick-info:hover{transform:scale(1.08);background:#fff}
.modal.dish-v2 .pick-card.show-about .pick-info{background:var(--accent,#e3a43c);border-color:var(--accent,#e3a43c)}
.modal.dish-v2 .pick-card.show-about .pick-info span{font-size:0}
.modal.dish-v2 .pick-card.show-about .pick-info span::after{content:"×";font:700 18px/1 system-ui,sans-serif}
.modal.dish-v2 .pick-about{
  position:absolute;inset:0;z-index:2;overflow:auto;padding:12px 12px 10px;padding-inline-end:42px;
  display:flex;flex-direction:column;gap:5px;cursor:pointer;
  background:linear-gradient(160deg,#241a12f2,#3a2a1cf0);color:#fff8ec;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s,transform .25s,visibility 0s .25s
}
.modal.dish-v2 .pick-card.show-about .pick-about{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s}
.modal.dish-v2 .pick-about b{font-size:13px;font-weight:800;color:#f6c46e}
.modal.dish-v2 .pick-about p{margin:0;font-size:12.5px;line-height:1.5;color:#fff3df}
@media (prefers-reduced-motion:reduce){.modal.dish-v2 .pick-about{transition:none}}
/* details panel covers the photo and name, keeps the +/− row usable; stays inside its card */
.modal.dish-v2 .pick-card{isolation:isolate}
.modal.dish-v2 .pick-media{position:static}
.modal.dish-v2 .pick-about{inset:0 0 48px 0;padding:12px 12px 10px;padding-inline-end:40px;border-radius:14px 14px 0 0}
.modal.dish-v2 .pick-about p{font-size:12.5px;line-height:1.55}
.modal.dish-v2 .dish-foot{z-index:6}
.modal.dish-v2 .pick-about{padding:12px;background:linear-gradient(160deg,#241a12,#3a2a1c);scrollbar-width:thin}
.modal.dish-v2 .pick-about b{padding-inline-end:34px;min-height:26px;display:flex;align-items:center}
.modal.dish-v2 .pick-about p{font-size:12.5px;line-height:1.55}

/* phones: no "כלים ונגישות" strip at the top; accessibility goes back to its round floating button (27/11/2026) */
@media (max-width:760px){
  .mobile-tools{display:none!important}
  body:has(.mobile-tools) .access-trigger{display:grid}
}

/* ---- sauces window: compact, photos fill each card (27/11/2026) ---- */
.modal.dish-dialog:has(.sauce-grid){width:min(800px,100%)}
.modal.dish-dialog:has(.sauce-grid) .dish-head{min-height:0;padding:20px 24px 14px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 16px}
.modal.dish-dialog:has(.sauce-grid) .dish-info h2{font-size:24px;margin:0 0 2px}
.modal.dish-dialog:has(.sauce-grid) .sauce-sub{margin:0 0 8px;font-size:14px}
.modal.dish-dialog:has(.sauce-grid) .sauce-meter{padding:4px 12px;font-size:13px}
.modal.dish-dialog:has(.sauce-grid) .sauce-total{align-self:flex-end}
.modal.dish-dialog:has(.sauce-grid) .sauce-total .price-big{font-size:19px!important;padding:2px 14px!important;border-radius:999px}
.sauce-grid{grid-template-columns:repeat(auto-fill,minmax(106px,1fr));gap:9px;padding:14px 20px 10px}
.sauce-option{padding:0;gap:0;overflow:hidden;justify-content:flex-start;border-radius:14px;border:1.5px solid #e6dccb}
.sauce-option:hover{border-color:#e3a43c}
.sauce-img{width:100%;height:auto;aspect-ratio:1;border-radius:0;box-shadow:none;background:#8a6a52;object-fit:cover}
.sauce-name{font-size:13px;line-height:1.25;padding:7px 8px 4px;min-height:2.9em}
.sauce-price{font-size:11.5px;padding:1px 9px}
.sauce-option>div{width:100%;justify-content:space-between;gap:4px;padding:6px 8px 8px;margin:auto 0 0}
.sauce-option .qbtn{width:30px;height:30px;line-height:1;font-size:17px;font-weight:700;display:grid;place-items:center;border:1.5px solid #e2d6bf;background:#fff;color:#141a2e}
.sauce-option .qbtn[data-step="1"]{background:var(--accent,#e3a43c);border-color:var(--accent,#e3a43c)}
.sauce-option output{font-size:15px;font-weight:800;min-width:20px;text-align:center}
.sauce-option.picked{background:var(--accent-soft,#fbefd6)}
.modal.dish-dialog:has(.sauce-grid) .dish-foot{padding:12px 20px 16px}
@media (max-width:760px){
  .sauce-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 12px 8px}
  .sauce-name{font-size:12px}
  .sauce-option .qbtn{width:28px;height:28px}
}

/* ---- phones: no "קטגוריות" button in the bottom bar (the strip at the top stays); the assistant sits in its slot ---- */
@media (max-width:760px){
  .menu-mobile-dock .mobile-categories{display:none!important}
  .menu-mobile-dock:not([hidden]){grid-template-columns:minmax(0,1fr);padding-inline-start:62px}
  body:has(#menuMobileDock:not([hidden])) .transit-chat{
    z-index:33;right:calc((100vw - min(480px,100vw - 20px)) / 2 + 7px);
    inset-block-end:calc(max(10px,env(safe-area-inset-bottom)) + 7px)
  }
  body:has(#menuMobileDock:not([hidden])) .transit-chat-panel{height:min(515px,calc(100dvh - 110px))}
}

/* menu cards: no description outside — it's shown when the dish opens (27/11/2026) */
:root:not([data-card-desc="on"]) .menu-product .card-desc{display:none!important}

/* home: dish name sits under the photo, never on it (27/11/2026) */
.brand-menu-photo figcaption{margin-top:14px!important;position:relative;line-height:1.3}

/* account: Google already linked */
.google-linked{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 14px;border-radius:12px;background:#e6f2e3;border:1px solid #c5dfbf;color:#2f6b2c;font-weight:700;font-size:14px}
.google-linked span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#2f6b2c;color:#fff;font-size:13px}

/* ---- phone: compact dish window so the choices fit without scrolling ---- */
@media (max-width:820px){
  .modal.dish-v2{--dm-pad:14px;max-height:96dvh}
  .modal.dish-v2 .dish-hero{height:min(27vh,210px)}
  .modal.dish-v2 .dish-hero .dish-img{width:100%;height:100%;object-fit:cover;object-position:center}
  .modal.dish-v2:has(.pick-card) .dish-hero{height:min(18vh,140px)}
  .modal.dish-v2 .dish-head{padding:12px var(--dm-pad) 8px}
  .modal.dish-v2 .dish-title-row{margin-bottom:4px;gap:10px}
  .modal.dish-v2 .dish-title-row h2{font-size:19px;line-height:1.2}
  .modal.dish-v2 .dish-title-row .price-big{font-size:15px;padding:1px 10px}
  .modal.dish-v2 .dish-info .desc{font-size:13px;line-height:1.45;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .modal.dish-v2 .desc-notes{padding:6px 10px;margin-bottom:6px;gap:2px}
  .modal.dish-v2 .desc-notes li{font-size:12px;line-height:1.4}
  .modal.dish-v2 .dish-meta{gap:4px}
  .modal.dish-v2 .og{padding:8px var(--dm-pad) 10px}
  .modal.dish-v2 .og h4{font-size:13px;margin-bottom:7px}
  .modal.dish-v2 .og .chs{gap:6px}
  .modal.dish-v2 .og .chs label:not(:has(input[data-count])){min-height:36px;padding:6px 11px;font-size:13px}
  .modal.dish-v2 .dish-steps{padding:6px var(--dm-pad)}
  .modal.dish-v2 .dish-foot{gap:6px 8px;padding:8px var(--dm-pad) max(10px,env(safe-area-inset-bottom));box-shadow:none}
  .modal.dish-v2 .dish-foot #itNote{min-height:36px;padding:6px 12px;font-size:13px;border-radius:11px}
  .modal.dish-v2 .dish-foot :is(.dish-cancel,.add-btn){min-height:44px;font-size:15px;border-radius:12px}
  .modal.dish-v2 > .x{width:32px;height:32px;font-size:19px;top:8px;left:8px}
}

/* delivery: use my current location */
.locate-me{display:inline-flex;align-items:center;gap:6px;margin:10px 0 0;padding:8px 14px;border-radius:999px;border:1.5px solid #e2d6bf;background:#fffdf9;color:var(--ink-strong,#141a2e);font-size:14px;font-weight:700;cursor:pointer}
.locate-me:hover{border-color:var(--accent,#e3a43c)}
.locate-me:disabled{opacity:.6;cursor:wait}

/* google linked badge v2 */
.google-linked{display:inline-flex!important;align-items:center;gap:10px;width:auto;padding:9px 16px 9px 12px!important;border-radius:999px!important;background:#fff!important;border:1px solid #dadce0!important;color:#1f1f1f!important;font-size:14px;box-shadow:0 1px 3px #3c40431f}
.google-linked .g-logo{width:20px;height:20px;flex:none}
.google-linked b{font-weight:700}
.google-linked .g-ok{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#1e8e3e;color:#fff;font-size:12px;font-weight:800}
.dates-once{margin:2px 0 10px;font-size:12.5px;color:#8a6d3b}

/* ---- desktop: tray builders get a big window — full height, wider, roomier roll cards ---- */
@media (min-width:821px){
  .modal.dish-v2:has(.pick-card){width:min(1340px,calc(100vw / var(--desktop-scale,1) - 40px));height:calc(var(--desktop-height,100dvh) - 32px);max-height:none}
  .modal.dish-v2:has(.pick-card) .dish-layout{grid-template-columns:minmax(0,40%) minmax(0,1fr);height:100%;align-items:stretch}
  .modal.dish-v2:has(.pick-card) .dish-hero{align-self:center}
  .modal.dish-v2:has(.pick-card) .dish-body{contain:none;min-height:0;height:100%;overflow:auto}
  .modal.dish-v2:has(.pick-card) .og .chs:has(.pick-card){grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
}

/* ---- club benefits as cards ---- */
.perks{list-style:none;margin:6px 0 0;padding:0!important;display:grid;gap:8px}
.perks .perk{display:flex;align-items:center;gap:12px;margin:0!important;padding:10px 12px;border:1px solid #ffffff1f!important;border-radius:14px;background:#ffffff0d;color:#fff;font-size:inherit}
.perks .perk-val{flex:none;display:grid;place-items:center;align-content:center;width:56px;height:56px;border-radius:50%;
  background:radial-gradient(circle at 30% 25%,#fbe7b8,#e3b664 70%);color:#14203d;box-shadow:0 0 0 3px #e9c88a33,0 6px 14px #0000002e;line-height:1}
.perks .perk-val b{font-size:17px;font-weight:900;letter-spacing:-.02em}
.perks .perk-val i{font-style:normal;font-size:10px;font-weight:800;margin-top:2px}
.perks .perk-txt{display:grid;gap:3px;min-width:0}
.perks .perk-txt strong{font-size:15px;font-weight:800;color:#f6e3bb}
.perks .perk-txt small{font-size:12.5px;line-height:1.35;color:#d8dcea}
.menu-club .perks{margin:4px 0 2px}
.menu-club .perks .perk{padding:8px 10px}
.menu-club .perks .perk-val{width:48px;height:48px}
.menu-club .perks .perk-val b{font-size:15px}
/* account card */
.club-box{background:linear-gradient(145deg,var(--navy-light,#24345c),var(--navy,#14203d))!important;border-radius:20px!important;padding:20px 22px!important}
.perks-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:16px;padding-top:16px!important;border-top:1px solid #ffffff1f}
.perks-grid .perk{flex-direction:column;align-items:center;text-align:center;padding:16px 12px}
.perks-grid .perk-txt{justify-items:center}
@media (max-width:600px){
  .perks-grid{grid-template-columns:1fr 1fr}
  .perks-grid .perk{padding:12px 8px}
  .perks-grid .perk-txt strong{font-size:14px}
  .perks-grid .perk-txt small{font-size:11.5px}
}

/* ---- desktop: dishes with many choices — tall window, narrower photo, compact chips, no scrolling ---- */
@media (min-width:821px){
  .modal.dish-v2:has(.og .chs label:nth-child(7)):not(:has(.pick-card)){
    width:min(1240px,calc(100vw / var(--desktop-scale,1) - 40px));height:calc(var(--desktop-height,100dvh) - 32px);max-height:none
  }
  .modal.dish-v2:has(.og .chs label:nth-child(7)):not(:has(.pick-card)) .dish-layout{grid-template-columns:minmax(0,38%) minmax(0,1fr);height:100%;align-items:stretch}
  .modal.dish-v2:has(.og .chs label:nth-child(7)):not(:has(.pick-card)) .dish-hero{align-self:center}
  .modal.dish-v2:has(.og .chs label:nth-child(7)):not(:has(.pick-card)) .dish-body{contain:none;min-height:0;height:100%;overflow:auto}
  .modal.dish-v2:has(.og .chs label:nth-child(7)) .og .chs{gap:7px}
  .modal.dish-v2:has(.og .chs label:nth-child(7)) .og .chs label:not(:has(input[data-count])){min-height:40px;padding:6px 14px 6px 12px;font-size:14px}
  .modal.dish-v2:has(.og .chs label:nth-child(7)) .og{padding-top:14px;padding-bottom:14px}
  .modal.dish-v2:has(.og .chs label:nth-child(7)) .dish-head{padding-bottom:12px}
}

/* ================= luxury pass: club benefits ================= */
.perks{gap:0!important;margin:10px 0 0!important}
.perks .perk{background:none!important;border:0!important;border-radius:0!important;border-top:1px solid #d9b77a2e!important;padding:14px 4px!important;gap:16px!important}
.perks .perk:first-child{border-top:0!important}
.perks .perk-val{width:54px!important;height:54px!important;background:none!important;border:1px solid #d6b26e!important;color:#e9cf98!important;
  box-shadow:inset 0 0 0 3px #121b36,inset 0 0 0 4px #d6b26e44!important;font-family:Georgia,'Times New Roman',serif}
.perks .perk-val b{font-size:17px!important;font-weight:600!important;letter-spacing:0!important}
.perks .perk-val i{font-family:inherit;font-size:9.5px!important;letter-spacing:.06em;color:#cdb07a;font-weight:600!important}
.perks .perk-txt strong{color:#f4ead6!important;font-size:15px!important;font-weight:700!important;letter-spacing:.01em}
.perks .perk-txt small{color:#a9b0c6!important;font-size:12.5px!important}
/* updates popup */
.menu-club{background:radial-gradient(120% 80% at 100% 0%,#22325a 0%,#121b36 60%,#0c1328 100%)!important;border:1px solid #d6b26e40!important;box-shadow:0 18px 50px #0a102244,inset 0 1px 0 #ffffff12}
.menu-club h2{display:flex;align-items:center;gap:10px;font-size:19px!important;letter-spacing:.02em;color:#e9cf98!important}
.menu-club h2::before{content:"TRANSIT · CLUB";order:-1;display:block;width:100%;font:600 10.5px/1 Georgia,serif;letter-spacing:.32em;color:#b99a5f}
.menu-club h2{flex-wrap:wrap}
.menu-club .perks .perk{padding:12px 2px!important}
.menu-club-link{background:none!important;border:1px solid #d6b26e!important;color:#e9cf98!important;border-radius:999px!important;padding:11px 18px!important;
  font-weight:700;letter-spacing:.04em;transition:background-color .25s,color .25s}
.menu-club-link:hover{background:#d6b26e!important;color:#121b36!important}
/* account card: benefits sit beside the points */
.club-box{background:radial-gradient(120% 90% at 100% 0%,#22325a 0%,#121b36 55%,#0c1328 100%)!important;border:1px solid #d6b26e40;box-shadow:0 20px 50px #0a102233}
.club-box:has(.perks-grid){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:10px 40px;align-items:center}
.perks-grid{display:grid!important;grid-template-columns:1fr!important;margin:0!important;padding:0 0 0 0!important;border:0!important;border-inline-start:1px solid #d6b26e33!important;padding-inline-start:32px!important}
.perks-grid .perk{flex-direction:row!important;text-align:start!important;align-items:center!important;padding:11px 0!important}
.perks-grid .perk-txt{justify-items:start!important}
.perks-grid .perk-val{width:48px!important;height:48px!important}
.perks-grid .perk-val b{font-size:15px!important}
@media (max-width:760px){
  .club-box:has(.perks-grid){grid-template-columns:1fr}
  .perks-grid{border-inline-start:0!important;padding-inline-start:0!important;border-top:1px solid #d6b26e33!important;margin-top:14px!important;padding-top:6px!important}
}

/* ================= luxury pass: wallet drawer ================= */
.wallet-dialog{background:linear-gradient(180deg,#fbf7ef,#f4ecdd)!important}
.wallet-card{border:1px solid #d6b26e55!important;box-shadow:0 24px 50px #0a10223d,inset 0 1px 0 #ffffff14!important}
.wallet-card-brand{letter-spacing:.34em!important;font-family:Georgia,serif;font-weight:600}
.wallet-card-balance{font-family:Georgia,'Times New Roman',serif;font-weight:400!important;letter-spacing:-.01em}
.wallet-intro{text-align:center;font-size:13.5px!important;line-height:1.7;color:#6b604b!important;margin:18px 6px!important}
.wallet-form{background:none!important;border:0!important;box-shadow:none!important;padding:6px 0 0!important;border-top:1px solid #d6b26e55!important;border-radius:0!important}
.wallet-form h3{display:flex;align-items:center;gap:12px;justify-content:center;margin:14px 0 18px!important;font-size:12px!important;letter-spacing:.28em;color:#9a7b44!important;font-weight:700}
.wallet-form h3::before,.wallet-form h3::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#d6b26e88)}
.wallet-form h3::after{background:linear-gradient(270deg,transparent,#d6b26e88)}
.wallet-form legend{font-size:13px!important;color:#3b3427!important;font-weight:700;margin-bottom:10px!important}
.wallet-provider{border:1px solid #e2cfa6!important;background:#fffdf8!important;border-radius:16px!important;box-shadow:none!important;transition:background-color .25s,border-color .25s,color .25s}
.wallet-provider:has(input:checked){background:linear-gradient(160deg,#1b2848,#121b36)!important;border-color:#d6b26e!important;box-shadow:0 10px 24px #121b3633!important}
.wallet-provider:has(input:checked) .wallet-provider-name{color:#f2e2bf!important}
.wallet-provider:has(input:checked) .wallet-provider-mode{color:#c9ad77!important}
.wallet-provider:has(input:checked)::after{background-color:#d6b26e!important}
.wallet-provider-name{font-weight:700!important;letter-spacing:.02em}
.wallet-chip{border:1px solid #e2cfa6!important;background:#fffdf8!important;border-radius:999px!important;font-weight:700;color:#2b2a2a!important;transition:all .2s}
.wallet-chip:hover:not(:disabled){border-color:#c9a35f!important}
.wallet-chip[aria-pressed="true"]{background:#121b36!important;color:#f2e2bf!important;border-color:#121b36!important}
.wallet-other-field{border:1px solid #e2cfa6!important;border-radius:999px!important;background:#fffdf8!important}
.wallet-cta{background:linear-gradient(160deg,#1f2d52,#121b36)!important;color:#f2e2bf!important;border:1px solid #d6b26e88!important;border-radius:999px!important;letter-spacing:.04em;box-shadow:0 12px 26px #121b3640!important}
.wallet-cta:disabled{background:#ece3d2!important;color:#a99b80!important;border-color:#e2d6bf!important;box-shadow:none!important}
.wallet-secure{justify-content:center;color:#8a7c62!important}
.wallet-steps{position:relative;display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px!important;margin:26px 0 10px!important;padding:0!important}
.wallet-steps::before{content:"";position:absolute;top:15px;inset-inline:16%;height:1px;background:linear-gradient(90deg,#d6b26e00,#d6b26e,#d6b26e00)}
.wallet-steps li{position:relative;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;text-align:center;font-size:12.5px;color:#5c5442}
.wallet-steps li b{position:relative;z-index:1;display:grid!important;place-items:center;width:30px!important;height:30px!important;margin:0 auto 8px;border-radius:50%;
  background:#fbf7ef!important;border:1px solid #d6b26e;color:#9a7b44!important;font-family:Georgia,serif;font-weight:600}
.wallet-history h3{font-size:12px!important;letter-spacing:.28em;color:#9a7b44!important}

/* ================= checkout on desktop: everything on one screen ================= */
.checkout-console .opts:empty{display:none}
.checkout-console .co-qty{font-weight:800;color:#141a2e}
.checkout-console .console-mode{margin-bottom:6px}
@media (min-width:1100px){
  .modal.checkout-dialog{width:min(1480px,calc(100vw / var(--desktop-scale,1) - 40px));height:calc(var(--desktop-height,100dvh) - 28px);max-height:none;display:flex;flex-direction:column;overflow:hidden}
  .modal.checkout-dialog .checkout-title{flex:none;padding-bottom:6px}
  .modal.checkout-dialog .checkout-body{flex:1;min-height:0;display:flex!important;gap:14px;align-items:stretch;padding:12px 16px 14px}
  .modal.checkout-dialog .checkout-details{flex:1;min-width:0;min-height:0;overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:min-content;gap:0 14px;align-content:start}
  .modal.checkout-dialog .checkout-details > *{grid-column:1;margin:0 0 10px!important}
  .modal.checkout-dialog .checkout-details > .checkout-payment{grid-column:2;grid-row:1 / span 20}
  .modal.checkout-dialog #sumcol{flex:0 0 360px;min-height:0;display:flex;flex-direction:column}
  .modal.checkout-dialog .checkout-body .panel{padding:12px 14px}
  .modal.checkout-dialog .checkout-body h3{font-size:16px;margin-bottom:8px}
  .modal.checkout-dialog .checkout-details .grid3{gap:0 12px}
  .modal.checkout-dialog .checkout-body .f{margin-bottom:6px}
  .modal.checkout-dialog .checkout-body .input{min-height:38px;padding-block:6px}
  .modal.checkout-dialog .checkout-notice{padding:8px 12px!important;font-size:11.5px!important;line-height:1.45}
  .modal.checkout-dialog .checkout-notice ul{margin:4px 0 0!important}
  .modal.checkout-dialog .checkout-notice li{margin:1px 0!important}
  .modal.checkout-dialog .payment-picker{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .modal.checkout-dialog .payment-tile{min-height:0!important}
  .modal.checkout-dialog .payment-tile span{padding:8px 6px!important}
  .modal.checkout-dialog .checkout-payment .grid3{grid-template-columns:1fr 1fr;align-items:end}
  .modal.checkout-dialog .checkout-payment #applyCoupon{grid-column:1 / -1;min-height:40px}
  /* summary: same look as the order console beside the menu; only the item list scrolls if it is very long */
  .modal.checkout-dialog #sumcol .checkout-console{display:flex;flex-direction:column;min-height:0;flex:1;margin:0}
  .modal.checkout-dialog #sumcol .olines{flex:1;min-height:0;max-height:none;overflow:auto}
  .modal.checkout-dialog #sumcol .pay-row{flex:none;margin-top:10px}
  .modal.checkout-dialog #sumcol .pay-btn{width:100%;min-height:50px;font-size:17px;border-radius:14px}
}

/* ================= account page: club benefits in the side column ================= */
.account-perks{border-radius:22px;padding:22px 22px 12px;color:#fff;margin-bottom:14px;
  background:radial-gradient(120% 70% at 100% 0%,#22325a 0%,#121b36 55%,#0c1328 100%);border:1px solid #d6b26e40;box-shadow:0 20px 50px #0a102233}
.account-perks-brand{margin:0 0 4px;font:600 10.5px/1 Georgia,serif;letter-spacing:.32em;color:#b99a5f}
.account-perks h2{margin:0 0 6px;font-size:20px;color:#e9cf98;letter-spacing:.02em}
.account-perks h2::after{content:"";display:block;width:44px;height:1px;margin-top:12px;background:linear-gradient(90deg,#d6b26e,#d6b26e00)}
@media (min-width:1100px){
  .page.account-page{max-width:1240px!important;display:grid;grid-template-columns:minmax(0,1fr) 360px;column-gap:26px;row-gap:0;align-items:start}
  .page.account-page > *{grid-column:1}
  .page.account-page > .account-perks{grid-column:2;grid-row:1 / span 30;position:sticky;top:110px}
}
@media (max-width:1099px){
  .page.account-page{display:flex;flex-direction:column}
  .page.account-page > *{order:2}
  .page.account-page > .club-box{order:0}
  .page.account-page > .account-perks{order:1}
}

/* checkout: my vouchers and credits */
.my-benefits{border:1px solid #d6b26e66!important;background:linear-gradient(180deg,#fffaf0,#fbf3e2)!important}
.my-benefits h3{color:#805a2c}
.benefit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px dashed #e6d4b0}
.benefit-row:first-of-type{border-top:0}
.benefit-row b{display:block;color:#141a2e}
.benefit-row small{color:#6b604b}
.benefit-auto{flex:none;padding:4px 10px;border-radius:999px;background:#e6f2e3;color:#2f6b2c;font-weight:700;font-size:12.5px}
.benefit-use{flex:none;padding:6px 16px!important;border-radius:999px!important}
