@charset "UTF-8";
/* Online takeout orders (/takeout). Add-on to ganesh.css; design-system tokens only. */

.to-wrap{ max-width:1080px; margin:0 auto; padding:clamp(16px,3vw,32px) var(--pad-x) var(--pad-section); }
.to-ico{ display:inline-flex; }
.to-ico .g-icon{ width:20px; height:20px; }
.to-title{ font:var(--type-h1); font-size:clamp(24px,4vw,34px); letter-spacing:var(--tracking-tight); color:var(--text-heading); margin:8px 0; }
.to-h2{ font:var(--type-h3); color:var(--text-heading); }
.to-lead{ font:var(--type-body); color:var(--text-body); }
.to-help{ font:var(--type-small); color:var(--text-muted); }
.to-help a{ font-weight:var(--weight-bold); }
.to-center{ text-align:center; }
.to-note{ padding:10px 14px; border-radius:var(--radius-md); background:var(--ganesh-yellow-100); border:2px solid var(--ganesh-yellow-400); color:var(--ganesh-brown-700); font:var(--type-small); }
.to-link{ border:0; background:none; padding:6px 4px; font:var(--type-label); color:var(--text-link); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.to-testbar{ margin-bottom:12px; padding:8px 14px; border-radius:var(--radius-md); background:var(--ganesh-pink-200); border:2px dashed var(--ganesh-red-500); color:var(--ganesh-red-600); font:var(--weight-bold) var(--text-sm)/1.5 var(--font-display); }
.to-card{ display:flex; flex-direction:column; gap:20px; }
.to-actions{ display:flex; flex-direction:column; align-items:center; gap:12px; margin-top:8px; }
.to-actions .g-btn--lg{ min-width:min(360px,100%); }
.to-actions .g-btn{ white-space:normal; height:auto; min-height:var(--control-h-md); padding-top:8px; padding-bottom:8px; text-align:center; }

/* ---------- Steps ---------- */
.to-steps{ list-style:none; margin:0 0 16px; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:4px; max-width:520px; margin-inline:auto; }
.to-steps__item{ position:relative; }
.to-steps__item > a,.to-steps__item > span{ display:flex; flex-direction:column; align-items:center; gap:4px; text-decoration:none; color:var(--text-muted); text-align:center; }
.to-steps__item:not(:last-child)::after{ content:""; position:absolute; top:15px; left:calc(50% + 20px); right:calc(-50% + 20px); height:2px; background:var(--border-subtle); }
.to-steps__item.is-done:not(:last-child)::after{ background:var(--ganesh-green-400); }
.to-steps__num{ width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font:var(--weight-black) var(--text-sm)/1 var(--font-latin-display); background:var(--surface-card); border:2px solid var(--border-strong); color:var(--text-muted); }
.to-steps__num .g-icon{ width:16px; height:16px; stroke-width:3; }
.to-steps__label{ font:var(--weight-bold) var(--text-2xs)/1.2 var(--font-display); }
.to-steps__item.is-here .to-steps__num{ background:var(--action-primary-bg); border-color:var(--action-primary-bg); color:var(--ganesh-paper); }
.to-steps__item.is-here .to-steps__label{ color:var(--text-heading); }
.to-steps__item.is-done .to-steps__num{ background:var(--ganesh-green-100); border-color:var(--ganesh-green-400); color:var(--ganesh-green-700); }

/* ---------- Shop choice ---------- */
.to-shops{ display:grid; gap:12px; margin-top:16px; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); }
.to-shop{ display:grid; grid-template-columns:44px 1fr 20px; align-items:center; gap:14px; width:100%; padding:16px; border-radius:var(--radius-lg); border:2px solid var(--border-subtle); background:var(--surface-card); box-shadow:var(--shadow-xs); text-align:left; font:inherit; color:inherit; cursor:pointer; transition:all var(--dur-fast) var(--ease-out); }
.to-shop:hover{ border-color:var(--ganesh-orange-300); background:var(--ganesh-orange-050); }
.to-shop__icon{ width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:var(--ganesh-green-100); color:var(--ganesh-green-700); }
.to-shop__icon .g-icon{ width:22px; height:22px; }
.to-shop__text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.to-shop__name{ font:var(--weight-heavy) var(--text-md)/1.3 var(--font-display); color:var(--text-heading); }
.to-shop__sub{ font:var(--type-caption); color:var(--text-muted); }
.to-shop__chev .g-icon{ width:20px; height:20px; color:var(--ganesh-orange-500); }

.to-shopbar{ display:flex; align-items:center; gap:12px; padding:12px 16px; margin-bottom:8px; border-radius:var(--radius-lg); background:var(--surface-card); border:2px solid var(--ganesh-green-100); }
.to-shopbar--flat{ padding:0; margin:0; border:0; background:none; }
.to-shopbar__icon{ flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--ganesh-green-100); color:var(--ganesh-green-700); }
.to-shopbar__icon .g-icon{ width:20px; height:20px; }
.to-shopbar__text{ display:flex; flex-direction:column; min-width:0; flex:1; }
.to-shopbar__label{ font:var(--type-caption); color:var(--text-muted); }
.to-shopbar__name{ font:var(--weight-heavy) var(--text-base)/1.35 var(--font-display); color:var(--text-heading); }

/* ---------- Menu: category rail (left) + items (right) ---------- */
.to-menu{ display:grid; grid-template-columns:200px minmax(0,1fr); gap:24px; align-items:start; margin-top:16px; }
.to-rail{ position:sticky; top:calc(var(--to-top,0px) + 12px); max-height:calc(100vh - var(--to-top,0px) - 24px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; display:flex; flex-direction:column; gap:6px; padding:8px; border-radius:var(--radius-lg); background:var(--surface-card); border:2px solid var(--border-subtle); }
body.to-has-cartbar .to-rail{ max-height:calc(100vh - var(--to-top,0px) - 24px - 76px); }
/* Category tiles: same pictures and tints as the home page tiles (.g-tile). */
.to-rail__link{ display:flex; align-items:center; gap:10px; padding:6px 8px; border-radius:var(--radius-md); border:2px solid transparent; background:var(--ganesh-orange-050); color:var(--ganesh-brown-700); font:var(--weight-heavy) var(--text-sm)/1.3 var(--font-display); text-decoration:none; transition:all var(--dur-fast) var(--ease-out); }
.to-rail__link:nth-child(4n+2){ background:var(--ganesh-green-050); color:var(--ganesh-green-800); }
.to-rail__link:nth-child(4n+3){ background:var(--ganesh-yellow-100); }
.to-rail__link:nth-child(4n+4){ background:var(--ganesh-teal-100); }
.to-rail__link:hover{ color:var(--ganesh-brown-700); box-shadow:var(--shadow-xs); }
.to-rail__link.is-active{ background:var(--ganesh-orange-300); border-color:var(--ganesh-orange-500); color:var(--ganesh-brown-700); box-shadow:var(--shadow-sm); }
.to-rail__link.is-active:nth-child(4n+2){ background:var(--ganesh-green-400); border-color:var(--ganesh-green-600); }
.to-rail__link.is-active:nth-child(4n+3){ background:var(--ganesh-yellow-400); border-color:var(--ganesh-yellow-600); }
.to-rail__link.is-active:nth-child(4n+4){ background:var(--ganesh-teal-400); border-color:var(--ganesh-teal-500); }
.to-rail__img{ flex:none; display:block; width:48px; height:48px; border-radius:var(--radius-sm); overflow:hidden; background:var(--ganesh-paper); box-shadow:var(--shadow-xs); }
.to-rail__img img{ display:block; width:100%; height:100%; object-fit:cover; }
.to-rail__label{ min-width:0; word-break:keep-all; overflow-wrap:anywhere; }
.to-menu__main{ min-width:0; }
.to-cat{ scroll-margin-top:calc(var(--to-top,0px) + 12px); padding-bottom:12px; }
.to-cat + .to-cat{ margin-top:20px; }
.to-cat__title{ font:var(--type-h2); color:var(--text-heading); display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.to-cat__title::after{ content:""; flex:1; height:3px; border-radius:2px; background:var(--ganesh-orange-100); }
.to-cat .to-note{ margin-bottom:8px; }

/* Items. Desktop: one row per item (photo left, + on the right). Phones: cards with the photo on top. */
.to-grid{ display:flex; flex-direction:column; }
.to-dish{ position:relative; display:grid; grid-template-columns:84px minmax(0,1fr); gap:var(--space-4); align-items:center; width:100%; padding:var(--space-3) var(--space-2); border:0; border-bottom:1px dashed var(--border-strong); background:transparent; text-align:left; font:inherit; color:inherit; cursor:pointer; border-radius:var(--radius-md); transition:background var(--dur-fast) var(--ease-out); }
.to-dish:hover{ background:var(--ganesh-orange-050); }
.to-dish__media{ display:block; width:84px; height:84px; border-radius:var(--radius-md); overflow:hidden; background:var(--surface-sunken); }
.to-dish__img{ display:block; width:100%; height:100%; object-fit:cover; }
.to-dish__img.is-placeholder{ object-fit:contain; padding:14%; background:var(--ganesh-paper); }
.to-dish__body{ display:flex; flex-direction:column; gap:2px; min-width:0; padding-right:56px; }
.to-dish__name{ font:var(--weight-heavy) var(--text-base)/1.3 var(--font-display); color:var(--text-heading); }
.to-dish__desc{ font:var(--type-small); color:var(--text-muted); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.to-dish__foot{ display:block; }
.to-dish__price{ font:var(--weight-bold) var(--text-md)/1.2 var(--font-latin-display); color:var(--text-price); }
.to-dish__add,.to-dish__badge{ position:absolute; right:var(--space-2); top:50%; transform:translateY(-50%); }
.to-dish__add{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--action-primary-bg); color:var(--ganesh-paper); box-shadow:var(--shadow-sm); }
.to-dish__add .g-icon{ width:20px; height:20px; }
.to-dish__badge{ min-width:40px; height:40px; padding:0 8px; border-radius:var(--radius-pill); display:grid; place-items:center; background:var(--ganesh-green-100); color:var(--ganesh-green-700); font:var(--weight-black) var(--text-base)/1 var(--font-latin-display); border:2px solid var(--ganesh-green-400); }
.to-dish.is-in-cart .to-dish__add{ display:none; }

@media (max-width:760px){
  .to-wrap{ padding-left:16px; padding-right:16px; }
  .to-menu{ grid-template-columns:108px minmax(0,1fr); gap:12px; }
  .to-rail{ padding:4px; gap:6px; border-width:1px; }
  .to-rail__link{ flex-direction:column; gap:6px; padding:8px 2px; text-align:center; font-size:var(--text-xs); line-height:1.3; }
  .to-rail__img{ width:56px; height:56px; }
  .to-cat__title{ font-size:var(--text-lg); margin-bottom:10px; }
  .to-cat__title::after{ height:2px; }
  /* One card per row: 3:2 photo on top, then name, description, price and + button. */
  .to-grid{ display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
  .to-dish{ display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; overflow:hidden; border:2px solid var(--border-subtle); border-radius:var(--radius-lg); background:var(--surface-card); box-shadow:var(--shadow-xs); }
  .to-dish:hover{ background:var(--surface-card); border-color:var(--ganesh-orange-300); }
  .to-dish__media{ position:relative; width:100%; height:auto; aspect-ratio:3/2; border-radius:0; }
  .to-dish__body{ flex:1; gap:4px; padding:12px 14px 14px; }
  .to-dish__name{ font-size:var(--text-base); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .to-dish__desc{ font-size:var(--text-sm); line-height:1.5; }
  .to-dish__foot{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; padding-top:8px; }
  .to-dish__price{ font-size:var(--text-md); }
  .to-dish__add{ position:static; transform:none; flex:none; width:40px; height:40px; }
  .to-dish.is-in-cart .to-dish__add{ display:grid; }
  .to-dish__badge{ top:8px; right:8px; transform:none; min-width:36px; height:30px; padding:0 10px; font-size:var(--text-sm); box-shadow:var(--shadow-sm); }
}
/* Phones held sideways / small tablets: two cards per row so the photos don't get huge. */
@media (min-width:560px) and (max-width:760px){
  .to-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ---------- Stepper ---------- */
.to-stepper{ display:inline-flex; align-items:center; border:2px solid var(--ganesh-orange-300); border-radius:var(--radius-pill); background:var(--surface-card); overflow:hidden; }
.to-stepper__btn{ width:44px; height:40px; display:grid; place-items:center; border:0; background:transparent; color:var(--ganesh-orange-700); cursor:pointer; }
.to-stepper__btn:hover{ background:var(--ganesh-orange-050); }
.to-stepper__btn:disabled{ color:var(--ganesh-ink-300); cursor:default; background:transparent; }
.to-stepper__btn .g-icon{ width:18px; height:18px; stroke-width:2.6; }
.to-stepper__val{ min-width:36px; text-align:center; font:var(--weight-black) var(--text-lg)/1 var(--font-latin-display); color:var(--text-heading); }

/* ---------- Cart bar ---------- */
.to-cartbar{ position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px max(var(--gutter-page),calc((100vw - 1080px)/2 + var(--gutter-page))) calc(10px + env(safe-area-inset-bottom,0px)); background:var(--surface-dark); color:var(--ganesh-cream); border-top:3px solid var(--ganesh-orange-500); box-shadow:0 -4px 14px rgba(74,36,18,.2); }
.to-cartbar__info{ display:flex; flex-direction:column; min-width:0; }
.to-cartbar__count{ font:var(--type-label); }
.to-cartbar__total{ font:var(--weight-bold) var(--text-md)/1.3 var(--font-latin-display); color:var(--ganesh-yellow-300); }
.to-cartbar__btn{ flex:none; white-space:nowrap; }
body.to-has-cartbar .g-footer{ padding-bottom:calc(var(--space-8) + 80px + env(safe-area-inset-bottom,0px)); }

/* ---------- Toast ---------- */
.to-toast{ position:fixed; left:50%; bottom:calc(92px + env(safe-area-inset-bottom,0px)); z-index:70; transform:translate(-50%,12px); opacity:0; padding:10px 18px; border-radius:var(--radius-pill); background:var(--ganesh-green-700); color:var(--ganesh-paper); font:var(--type-label); box-shadow:var(--shadow-md); transition:opacity var(--dur-base) var(--ease-out),transform var(--dur-base) var(--ease-out); pointer-events:none; white-space:nowrap; }
.to-toast.is-on{ opacity:1; transform:translate(-50%,0); }

/* ---------- Bottom sheet (base for the option picker) ---------- */
body.to-noscroll{ overflow:hidden; }
.to-sheet-overlay{ position:fixed; inset:0; z-index:60; background:rgba(43,26,16,.45); display:flex; align-items:flex-end; justify-content:center; opacity:0; transition:opacity var(--dur-base) var(--ease-out); }
.to-sheet-overlay.is-on{ opacity:1; }
.to-sheet{ position:relative; width:100%; max-width:600px; max-height:94vh; display:flex; flex-direction:column; background:var(--surface-card); border-radius:var(--radius-xl) var(--radius-xl) 0 0; box-shadow:var(--shadow-lg); overflow:hidden; transform:translateY(24px); transition:transform var(--dur-base) var(--ease-out); }
.to-sheet-overlay.is-on .to-sheet{ transform:none; }
@media (min-width:640px){ .to-sheet-overlay{ align-items:center; } .to-sheet{ border-radius:var(--radius-xl); max-height:90vh; } }
/* ---------- Option picker (naan / curry / drink): slides up from the bottom ---------- */
.to-sheet-overlay.to-sheet-overlay--bottom{ align-items:flex-end; }
.to-sheet.to-picker{ max-width:560px; max-height:80vh; border-radius:var(--radius-xl) var(--radius-xl) 0 0; transform:translateY(100%); }
.to-sheet-overlay.is-on .to-sheet.to-picker{ transform:none; }
.to-picker__head{ flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 12px 12px 20px; border-bottom:2px solid var(--border-subtle); }
.to-picker__title{ font:var(--type-h3); font-size:var(--text-lg); color:var(--text-heading); min-width:0; }
.to-picker__close{ flex:none; width:40px; height:40px; border-radius:50%; border:0; display:grid; place-items:center; background:var(--ganesh-paper); color:var(--text-heading); box-shadow:var(--shadow-sm); cursor:pointer; }
.to-picker__close .g-icon{ width:20px; height:20px; }
.to-picker__list{ overflow-y:auto; overscroll-behavior:contain; padding:8px 12px calc(16px + env(safe-area-inset-bottom,0px)); display:flex; flex-direction:column; }
.to-pickrow{ display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:12px; width:100%; min-height:52px; padding:10px 10px; border:0; border-bottom:1px solid var(--border-subtle); background:transparent; text-align:left; font:var(--weight-bold) var(--text-base)/1.35 var(--font-display); color:var(--text-heading); cursor:pointer; }
.to-pickrow:last-child{ border-bottom:0; }
.to-pickrow:hover{ background:var(--ganesh-orange-050); }
.to-pickrow__radio{ width:24px; height:24px; border-radius:50%; border:2px solid var(--border-strong); display:grid; place-items:center; color:transparent; }
.to-pickrow__radio .g-icon{ width:14px; height:14px; stroke-width:3.2; }
.to-pickrow__price{ font:var(--weight-bold) var(--text-sm)/1 var(--font-latin-display); color:var(--text-price); white-space:nowrap; }
.to-pickrow[aria-checked="true"]{ background:var(--ganesh-green-050); color:var(--ganesh-green-800); }
.to-pickrow[aria-checked="true"] .to-pickrow__radio{ background:var(--action-secondary-bg); border-color:var(--action-secondary-bg); color:var(--ganesh-paper); }

/* Button on the item page that opens the picker and shows the current choice. */
.to-pick{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:56px; padding:10px 12px 10px 16px; border:2px solid var(--border-subtle); border-radius:var(--radius-md); background:var(--surface-card); text-align:left; font:inherit; color:inherit; cursor:pointer; transition:all var(--dur-fast) var(--ease-out); }
.to-pick:hover{ border-color:var(--ganesh-orange-300); background:var(--ganesh-orange-050); }
.to-pick__text{ display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; min-width:0; }
.to-pick__value{ font:var(--weight-bold) var(--text-base)/1.35 var(--font-display); color:var(--text-heading); }
.to-pick__price{ font:var(--weight-bold) var(--text-sm)/1 var(--font-latin-display); color:var(--text-price); }
.to-pick__change{ flex:none; display:inline-flex; align-items:center; gap:2px; font:var(--type-label); color:var(--text-link); }
.to-pick__change .g-icon{ width:18px; height:18px; }
.to-pick.is-empty{ border-color:var(--ganesh-orange-300); }
.to-pick.is-empty .to-pick__value{ color:var(--text-muted); font-weight:var(--weight-regular); }

/* ---------- Item page ---------- */
.to-ipage{ position:relative; max-width:640px; margin:0 auto; background:var(--surface-card); border:2px solid var(--border-subtle); border-radius:var(--radius-xl); box-shadow:var(--shadow-sm); }
/* Zero-height sticky row: keeps the close button in the top-right corner while the page scrolls. */
.to-ipage__closewrap{ position:sticky; top:var(--to-top,0px); z-index:6; height:0; display:flex; justify-content:flex-end; padding-right:12px; }
.to-ipage__close{ margin-top:8px; width:40px; height:40px; border-radius:50%; border:0; display:grid; place-items:center; background:var(--ganesh-paper); color:var(--text-heading); box-shadow:var(--shadow-sm); cursor:pointer; }
.to-ipage__close:hover{ background:var(--ganesh-orange-050); }
.to-ipage__close .g-icon{ width:20px; height:20px; }
.to-ipage__media{ overflow:hidden; border-radius:calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px) 0 0; background:var(--ganesh-paper); }
.to-ipage__img{ display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
.to-ipage__head{ position:sticky; top:var(--to-top,0px); z-index:5; display:flex; align-items:center; min-height:56px; padding:12px 64px 12px 20px; background:var(--surface-card); border-bottom:1px solid transparent; transition:box-shadow var(--dur-fast) var(--ease-out),border-color var(--dur-fast) var(--ease-out); }
.to-ipage__sentinel:nth-child(2) + .to-ipage__head{ border-radius:calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px) 0 0; }
.to-ipage__head.is-stuck{ border-bottom-color:var(--border-subtle); box-shadow:0 4px 12px rgba(74,36,18,.14); }
.to-ipage__name{ font:var(--type-h3); color:var(--text-heading); min-width:0; }
.to-ipage__body{ padding:4px 20px 24px; display:flex; flex-direction:column; gap:18px; }
.to-ipage__desc{ font:var(--type-body); color:var(--text-muted); }
.to-itembar{ position:fixed; left:0; right:0; bottom:0; z-index:40; padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px)); background:var(--surface-card); border-top:2px solid var(--border-subtle); box-shadow:0 -4px 14px rgba(74,36,18,.12); }
.to-itembar__inner{ max-width:640px; margin:0 auto; }
body.to-has-itembar .g-footer{ padding-bottom:calc(var(--space-8) + 80px + env(safe-area-inset-bottom,0px)); }
@media (max-width:760px){
  /* Phones: the page fills the screen width, right under the site header. */
  .to-ipage{ margin:calc(-1 * clamp(16px,3vw,32px)) -16px 0; border:0; border-radius:0; box-shadow:none; }
  .to-ipage__media,.to-ipage__sentinel:nth-child(2) + .to-ipage__head{ border-radius:0; }
  .to-ipage__head{ padding:12px 64px 12px 16px; }
  .to-ipage__body{ padding:4px 16px 24px; }
}
.to-price{ display:flex; align-items:baseline; gap:4px; }
.to-price__v{ font:var(--weight-black) var(--text-xl)/1 var(--font-latin-display); color:var(--text-price); letter-spacing:-0.02em; }
.to-price__n{ font:var(--type-caption); color:var(--text-muted); }

.to-opts{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr)); gap:8px; }
.to-opt{ display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; padding:8px 12px; border-radius:var(--radius-md); border:2px solid var(--border-subtle); background:var(--surface-card); color:var(--text-heading); cursor:pointer; text-align:left; font:var(--weight-bold) var(--text-sm)/1.3 var(--font-display); transition:all var(--dur-fast) var(--ease-out); }
.to-opt:hover{ border-color:var(--ganesh-orange-300); background:var(--ganesh-orange-050); }
.to-opt__price{ flex:none; font:var(--weight-bold) var(--text-xs)/1 var(--font-latin-display); color:var(--text-price); }
.to-opt[aria-checked="true"]{ border-color:var(--action-secondary-bg); background:var(--ganesh-green-050); box-shadow:0 0 0 2px var(--action-secondary-bg); color:var(--ganesh-green-800); }

.to-spices{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.to-spicebtn{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 4px; border-radius:var(--radius-md); border:2px solid var(--border-subtle); background:var(--surface-card); cursor:pointer; font:700 12px/1.2 var(--font-display); color:var(--text-heading); }
.to-spicebtn__n{ width:28px; height:28px; border-radius:8px; display:grid; place-items:center; background:var(--chip); color:var(--ganesh-brown-700); font:900 15px/1 var(--font-display); }
.to-spicebtn[aria-checked="true"]{ border-color:var(--action-primary-bg); background:var(--ganesh-orange-050); box-shadow:0 0 0 2px var(--action-primary-bg); }

/* ---------- Forms ---------- */
.to-form{ display:flex; flex-direction:column; gap:20px; }
.to-field{ display:flex; flex-direction:column; gap:8px; scroll-margin-top:calc(var(--to-top,0px) + 24px); }
.to-label{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font:var(--weight-bold) var(--text-base)/1.3 var(--font-display); color:var(--text-heading); }
.to-sublabel{ font:var(--type-caption); color:var(--text-muted); margin:4px 0 0; }
.to-req{ font:var(--weight-bold) var(--text-3xs)/1 var(--font-display); padding:3px 8px; border-radius:var(--radius-pill); background:var(--ganesh-red-500); color:var(--ganesh-paper); }
.to-error{ font:var(--weight-bold) var(--text-sm)/1.4 var(--font-display); color:var(--ganesh-red-600); }
.to-error:empty{ display:none; }
.to-error--box{ width:100%; padding:12px 16px; border-radius:var(--radius-md); background:var(--ganesh-orange-050); border:2px solid var(--ganesh-red-500); }
.to-input{ width:100%; padding:14px 16px; font:var(--type-body); font-size:16px; color:var(--text-body); background:var(--ganesh-cream); border:2px solid var(--border-subtle); border-radius:var(--radius-md); }
.to-input:focus{ outline:none; border-color:var(--ganesh-orange-500); box-shadow:0 0 0 3px var(--ganesh-orange-100); background:var(--surface-card); }
textarea.to-input{ resize:vertical; min-height:72px; }
.to-choices{ display:grid; gap:8px; }
.to-choices--dates{ grid-template-columns:repeat(auto-fill,minmax(128px,1fr)); }
.to-choices--times{ grid-template-columns:repeat(auto-fill,minmax(84px,1fr)); }
.to-choices--two{ grid-template-columns:repeat(2,minmax(0,1fr)); max-width:420px; }
.to-choice{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:48px; padding:8px 10px; border-radius:var(--radius-md); border:2px solid var(--border-subtle); background:var(--surface-card); color:var(--text-heading); cursor:pointer; text-align:center; font:inherit; transition:all var(--dur-fast) var(--ease-out); }
.to-choice:hover{ border-color:var(--ganesh-orange-300); background:var(--ganesh-orange-050); }
.to-choice__main{ font:var(--weight-bold) var(--text-sm)/1.3 var(--font-display); }
.to-choice__sub{ font:var(--type-caption); color:var(--text-muted); line-height:1.4; }
.to-choice[aria-checked="true"]{ border-color:var(--action-secondary-bg); background:var(--ganesh-green-050); box-shadow:0 0 0 2px var(--action-secondary-bg); }
.to-choice[aria-checked="true"] .to-choice__main{ color:var(--ganesh-green-800); }
.to-check{ display:grid; grid-template-columns:28px 1fr; gap:10px; align-items:start; padding:14px 16px; border-radius:var(--radius-md); border:2px solid var(--border-subtle); background:var(--ganesh-cream); cursor:pointer; }
.to-check__box{ width:22px; height:22px; margin-top:2px; accent-color:var(--action-secondary-bg); }
.to-check__text{ display:flex; flex-direction:column; gap:4px; font:var(--type-small); color:var(--text-body); line-height:1.6; }
.to-check__text strong{ font:var(--weight-bold) var(--text-base)/1.4 var(--font-display); color:var(--text-heading); }

/* ---------- Cart review ---------- */
.to-review__head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:8px; }
.to-lines{ padding:4px 16px; }
.to-line{ display:grid; grid-template-columns:56px minmax(0,1fr) auto; gap:12px; align-items:start; padding:14px 0; border-bottom:1px dashed var(--border-strong); }
.to-line__img{ width:56px; height:56px; object-fit:cover; border-radius:var(--radius-md); background:var(--surface-sunken); }
.to-line__body{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.to-line__name{ font:var(--weight-heavy) var(--text-base)/1.3 var(--font-display); color:var(--text-heading); }
.to-line__opts{ font:var(--type-caption); color:var(--ganesh-brown-700); line-height:1.5; }
.to-line__unit{ font:var(--type-small); color:var(--text-muted); }
.to-line__controls{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:4px; }
.to-line__total{ font:var(--weight-black) var(--text-lg)/1.2 var(--font-latin-display); color:var(--text-price); white-space:nowrap; }
.to-del{ display:inline-flex; align-items:center; gap:4px; min-height:40px; padding:0 12px; border:0; border-radius:var(--radius-pill); background:transparent; color:var(--ganesh-red-600); font:var(--type-label); cursor:pointer; }
.to-del:hover{ background:var(--ganesh-orange-050); }
.to-del .g-icon{ width:16px; height:16px; }
@media (max-width:420px){
  .to-line{ grid-template-columns:48px minmax(0,1fr); }
  .to-line__img{ width:48px; height:48px; }
  .to-line__total{ grid-column:2; }
}
.to-sum{ display:grid; grid-template-columns:1fr auto auto; gap:12px; align-items:baseline; padding:14px 0 10px; font:var(--weight-bold) var(--text-base)/1.2 var(--font-display); color:var(--text-heading); }
.to-sum__count{ font:var(--type-small); color:var(--text-muted); }
.to-sum__total{ font:var(--weight-black) var(--text-2xl)/1 var(--font-latin-display); color:var(--text-price); white-space:nowrap; }
.to-sumlist{ display:flex; flex-direction:column; }
.to-sumrow{ display:grid; grid-template-columns:1fr auto auto; gap:12px; align-items:baseline; padding:10px 0; border-bottom:1px dashed var(--border-subtle); font:var(--type-small); }
.to-sumrow__name{ display:flex; flex-direction:column; gap:2px; color:var(--text-heading); }
.to-sumrow__qty{ color:var(--text-muted); white-space:nowrap; }
.to-sumrow__price{ white-space:nowrap; text-align:right; font-family:var(--font-latin-display); font-weight:600; }
.to-kvs{ width:100%; max-width:480px; }
.to-kv{ display:grid; grid-template-columns:8em 1fr; gap:12px; padding:8px 0; border-bottom:1px dashed var(--border-strong); font:var(--type-small); text-align:left; }
.to-kv span{ color:var(--text-muted); }
.to-kv strong{ color:var(--text-heading); }

/* ---------- Done / status / empty / loading ---------- */
.to-done{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; padding:clamp(20px,4vw,36px); }
.to-done__icon{ width:72px; height:72px; border-radius:50%; display:grid; place-items:center; background:var(--ganesh-green-100); color:var(--ganesh-green-600); border:3px solid var(--ganesh-green-400); }
.to-done__icon .g-icon{ width:36px; height:36px; stroke-width:3; }
.to-done__note{ max-width:480px; text-align:left; line-height:1.7; }
.to-orderno{ display:flex; flex-direction:column; align-items:center; gap:2px; margin:6px 0; }
.to-orderno span{ font:var(--type-caption); color:var(--text-muted); }
.to-orderno strong{ font:var(--weight-black) clamp(32px,6vw,44px)/1 var(--font-latin-display); color:var(--text-heading); letter-spacing:0.04em; }
.to-orderno--inline{ flex-direction:row; align-items:baseline; gap:8px; margin:0; }
.to-orderno--inline strong{ font-size:var(--text-xl); }
.to-status{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; }
.to-status__chip{ display:inline-flex; padding:6px 14px; border-radius:var(--radius-pill); font:var(--weight-bold) var(--text-sm)/1.2 var(--font-display); background:var(--ganesh-yellow-100); color:var(--ganesh-brown-700); border:2px solid var(--ganesh-yellow-400); }
.to-status__chip.is-accepted,.to-status__chip.is-ready{ background:var(--ganesh-green-100); color:var(--ganesh-green-800); border-color:var(--ganesh-green-400); }
.to-status__chip.is-done{ background:var(--surface-sunken); color:var(--text-muted); border-color:var(--border-subtle); }
.to-status__chip.is-cancelled{ background:var(--ganesh-orange-050); color:var(--ganesh-red-600); border-color:var(--ganesh-red-500); }
.to-sms{ margin-top:16px; align-items:flex-start; gap:12px; }
.to-empty{ display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; padding:clamp(24px,5vw,40px); }
.to-empty__title{ font:var(--type-h3); color:var(--text-heading); }
.to-empty__icon{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:var(--ganesh-orange-050); color:var(--ganesh-orange-600); }
.to-empty__icon .g-icon{ width:32px; height:32px; }
.to-phones{ display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr)); gap:10px; margin-top:16px; }
.to-loading{ position:fixed; inset:0; z-index:80; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; background:rgba(255,248,236,.92); font:var(--type-label); color:var(--text-heading); }
.to-loading-inline{ display:flex; flex-direction:column; align-items:center; gap:12px; padding:60px 0; font:var(--type-label); color:var(--text-muted); }
.to-spinner{ width:44px; height:44px; border-radius:50%; border:4px solid var(--ganesh-orange-100); border-top-color:var(--ganesh-orange-500); animation:to-spin .8s linear infinite; }
@keyframes to-spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .to-spinner{ animation-duration:2.4s; } }

/* The order page shows only the logo bar, not the second (ホーム / メニュー …) nav bar. */
.g-nav{ display:none; }
