/*
 * ANXIN DESIGN 1.0 · Yoshi Sushi Apple-inspired glass UI.
 * Opt-in on Yoshi Sushi's public hostname (or explicitly in QA preview).
 * Customer-facing only. Multi-tenant order/payment/permissions untouched.
 * Fallback solid surfaces retain legibility where backdrop-filter is unsupported.
 */
html.yoshi-restaurant-skin:not([data-theme="dark"]) {
 color-scheme:light;
 --bg:#edf2fa; --card:#fff; --text:#152136; --ink:#152136;
 --muted:#4b5b72; --line:#c6d1df; --accent:#33485e;
 --customer-glass:rgba(255,255,255,.76);
 --customer-glass-border:rgba(255,255,255,.94);
 --customer-shadow:0 12px 38px rgba(30,62,104,.11);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body {
 color:var(--text,#152136);
 background:
  radial-gradient(ellipse 78% 48% at 10% 3%,rgba(167,206,255,.62),transparent 78%),
  radial-gradient(ellipse 70% 60% at 92% 18%,rgba(212,198,255,.48),transparent 76%),
  radial-gradient(ellipse 80% 60% at 65% 95%,rgba(185,231,235,.4),transparent 78%),
  #edf2fa;
 background-attachment:fixed;
 font-family:"Inter","SF Pro Display","SF Pro Text","Segoe UI",system-ui,"Microsoft YaHei",sans-serif;
 line-height:1.5;
 -webkit-font-smoothing:antialiased;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(h1,h2,.heading,.brand) {
 color:#152136;letter-spacing:-.035em;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.muted,.sub) {color:#4b5b72}
html.yoshi-restaurant-skin:not([data-theme="dark"]) :is(input,textarea,select) {
 border-color:#b8c8dc;border-radius:14px;accent-color:#475569;
 font-size:max(16px,1em);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) :is(input,textarea,select,button,a):focus-visible {
 outline:3px solid #52677e;outline-offset:3px;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.card,.panel,.box,main:has(#securityForm),main:has(#requestForm),main:has(#action)) {
 background:rgba(255,255,255,.84);
 border:1px solid rgba(255,255,255,.95);
 border-radius:24px;
 box-shadow:0 18px 50px rgba(32,61,100,.12),inset 0 1px 1px rgba(255,255,255,.9);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .box {
 box-sizing:border-box;min-width:0;max-inline-size:100%;overflow-wrap:anywhere;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .box .meta {
 background:rgba(255,255,255,.42);border-radius:14px;
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.card,.panel,.box,main:has(#securityForm),main:has(#requestForm),main:has(#action)) {
  background:rgba(255,255,255,.70);
  -webkit-backdrop-filter:blur(22px) saturate(160%);
  backdrop-filter:blur(22px) saturate(160%);
 }
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.card,main:has(#securityForm),main:has(#requestForm),main:has(#action)) {
 position:relative;isolation:isolate;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.card,main:has(#securityForm),main:has(#requestForm),main:has(#action))::before {
 content:"";height:1px;
 position:absolute;inset:0 14px auto;
 background:linear-gradient(90deg,transparent,rgba(255,255,255,.98),transparent);
}
/*
 * Every customer action, including the PRIMARY checkout/add-to-cart actions,
 * is neutral TRANSLUCENT GLASS. No saturated solid-colour CTAs.
 * Native buttons, anchors styled as actions and Kiosk category/mode controls
 * share the same material; selected actions have a stronger border, not a fill.
 */
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(
 .btn:not(.danger),button.primary,button[type="submit"]:not(.danger),
 .add,.cartBtn,.cat,.modeBtn,.control,.kiosk-fullscreen-btn,.kiosk-theme-btn,
 .qty button,.customer-language-menu,a.action,a.back,#cats button,#categories button
) {
 background:rgba(255,255,255,.52)!important;
 color:#213041!important;
 border:1px solid rgba(255,255,255,.84)!important;
 border-radius:15px;
 -webkit-backdrop-filter:blur(18px) saturate(150%);
 backdrop-filter:blur(18px) saturate(150%);
 box-shadow:0 6px 20px rgba(41,58,80,.085),inset 0 1px 1px rgba(255,255,255,.85);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(
 .btn:not(.secondary):not(.danger),button.primary,#submit:not(.secondary),
 .add,.cartBtn,.confirm-order
) {
 background:rgba(255,255,255,.64)!important;
 border-color:rgba(143,159,179,.68)!important;
 color:#17283a!important;
 box-shadow:0 8px 22px rgba(41,58,80,.11),inset 0 1px 1px rgba(255,255,255,.98);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.btn.secondary,button.secondary,.secondary) {
 background:rgba(255,255,255,.44)!important;
 color:#253448!important;
 border:1px solid rgba(255,255,255,.78)!important;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.cat.active,.modeBtn.active) {
 background:rgba(255,255,255,.71)!important;
 color:#17283a!important;
 border:1px solid rgba(123,141,161,.84)!important;
 box-shadow:inset 0 0 0 1px rgba(110,128,148,.32),0 6px 18px rgba(31,57,82,.10);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(#cats button.active,#categories button.active) {
 border-color:#7b8da1!important;
 box-shadow:inset 0 0 0 1px #7b8da1;
}
.kiosk-brand-group {display:flex;align-items:center;gap:10px;min-width:0}
.kiosk-brand-group .brand {overflow-wrap:anywhere}
.kiosk-brand-group .restaurant-logo {width:auto;max-width:min(120px,25vw);max-height:56px;object-fit:contain;flex:none}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(
 .btn:not(.danger),button.primary,button[type="submit"]:not(.danger),
 .add,.cartBtn,.cat,.modeBtn,.control,.qty button,a.action
):hover:not(:disabled) {
 background:rgba(255,255,255,.78)!important;
 box-shadow:0 9px 23px rgba(36,58,80,.13),inset 0 1px 1px #fff;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(
 .btn,button.primary,.add,.cartBtn,.cat,.modeBtn,.control
):active:not(:disabled) {transform:translateY(1px);background:rgba(255,255,255,.84)!important}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(
 .btn,button.primary,.add,.cartBtn,.cat,.modeBtn,.control
):disabled {cursor:not-allowed;opacity:.48}
@media(prefers-reduced-transparency:reduce) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(
  .btn:not(.danger),button.primary,.add,.cartBtn,.cat,.modeBtn,.control,.qty button,a.action,a.back,#cats button,#categories button
 ) {background:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none}
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.panel,.profile,.dish,.cartRow) {border-color:rgba(255,255,255,.92)}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .dish {
 border-radius:22px;overflow:hidden;
 background:rgba(255,255,255,.83);
 box-shadow:0 10px 32px rgba(39,69,112,.10),inset 0 1px rgba(255,255,255,.9);
 transition:transform .16s ease,box-shadow .16s ease;
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body .dish{
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  backdrop-filter:blur(16px) saturate(150%);
 }
}
@media(hover:hover) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body .dish:hover {
  transform:translateY(-3px);box-shadow:0 16px 40px rgba(39,69,112,.16);
 }
}
/*
 * Compact food cards: reduce the opaque white caption panel, not the food photo.
 * The image remains a separate, unobstructed section. Remove the original
 * 8% photo zoom so the food itself is less likely to be cropped at the edges.
 */
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .pic {
 height:clamp(166px,16vw,210px);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .pic img {
 transform:none;
 object-fit:cover;
 object-position:center;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .body {
 display:flex;
 flex-direction:column;
 padding:8px 11px 9px;
 min-height:0;
 background:rgba(255,255,255,.46);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .code {
 font-size:.73rem;
 line-height:1.18;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .name {
 min-height:0;
 margin:2px 0 4px;
 line-height:1.22;
 display:-webkit-box;
 -webkit-line-clamp:2;
 -webkit-box-orient:vertical;
 overflow:hidden;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .bottom {
 margin-top:auto;
 padding-top:4px;
 min-height:36px;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .add {
 width:36px;
 height:36px;
 min-width:36px;
 min-height:36px;
 font-size:1.35rem;
}
@media(max-width:700px){
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .pic {
  height:clamp(120px,30vw,148px);
 }
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .body {
  padding:7px 8px 8px;
 }
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .dish .name {
  margin:2px 0 3px;
 }
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.dish .pic,.comboThumb) {background:rgba(221,232,247,.76)}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.price,.promoPrice) {color:#233548}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .hero {
 border-radius:24px;overflow:hidden;
 box-shadow:0 16px 42px rgba(32,66,108,.15);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#cartOverlay) .top,
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(#bottomNav) .topbar,
html.yoshi-restaurant-skin:not([data-theme="dark"]) body:has(.heading) header {
 background:rgba(247,251,255,.74);
 border-color:rgba(255,255,255,.88);
 box-shadow:0 6px 32px rgba(20,54,100,.07);
 -webkit-backdrop-filter:blur(24px) saturate(170%);
 backdrop-filter:blur(24px) saturate(170%);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .cat {
 border-color:rgba(255,255,255,.95);background:rgba(255,255,255,.77);
 box-shadow:0 3px 12px rgba(25,57,110,.07);color:#243f61;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .brand {font-size:clamp(1.1rem,2vw,1.5rem)}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .footer {
 border-color:rgba(255,255,255,.9);
 background:rgba(247,251,255,.82);
 -webkit-backdrop-filter:blur(18px) saturate(145%);
 backdrop-filter:blur(18px) saturate(145%);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.field input,.field textarea,.field select,.search input) {
 background:rgba(255,255,255,.80);border-color:rgba(181,201,225,.85);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .profile.default {border-color:#73869a}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .badge {background:rgba(255,255,255,.66);color:#233548;border:1px solid rgba(122,143,164,.62)}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .back {color:#233548}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .topbar .store-block strong {color:#152136}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .cartBtn.hasItems .cartQty {
 background:rgba(255,255,255,.84);color:#213041;border:1px solid rgba(121,141,162,.48);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.qty button,.kiosk-fullscreen-btn,.kiosk-theme-btn,#kioskLanguageSelect,.control) {
 background:rgba(255,255,255,.52);
 border-color:rgba(255,255,255,.84);color:#213041;
 box-shadow:0 3px 15px rgba(24,62,100,.06);
 -webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .sheet {
 background:rgba(255,255,255,.87);
 border:1px solid rgba(255,255,255,.95);
 box-shadow:0 24px 70px rgba(27,53,92,.21),inset 0 1px rgba(255,255,255,.9);
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body .sheet {
  background:rgba(249,252,255,.78);
  -webkit-backdrop-filter:blur(28px) saturate(165%);
  backdrop-filter:blur(28px) saturate(165%);
 }
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .cart-dialog-head {
 background:rgba(249,252,255,.78);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.cart-close-x,.customer-language-menu) {
 background:rgba(255,255,255,.55)!important;
 color:#213041!important;border-color:rgba(255,255,255,.88)!important;
 box-shadow:0 5px 18px rgba(26,60,110,.10);
 -webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .cart-line-placeholder {
 background:rgba(255,255,255,.63);color:#213041;
}
/* Keep the store menu readable under system forced-colours/reduced transparency. */
@media (prefers-reduced-transparency:reduce) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.dish,.sheet,.card,.panel,.box,.top,.footer) {
  background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;
 }
}
@media (forced-colors:active) {
 html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.dish,.sheet,.card,.panel) {border:1px solid CanvasText;box-shadow:none}
}
#languages.customer-has-language-menu button[data-lang],
.langs.customer-has-language-menu button[data-lang]{display:none!important}
.customer-language-menu{
 appearance:auto;min-width:145px;min-height:44px;font:600 15px/1.4 "Segoe UI",Arial,sans-serif;
 padding:10px 14px;background:#fff;color:#152136;border:1px solid #b8c8dc;border-radius:999px;cursor:pointer;
}
#languages.customer-has-language-menu,.langs.customer-has-language-menu{
 display:flex;align-items:center;justify-content:flex-end;gap:8px;
}
.customer-language-menu:focus-visible{outline:3px solid #52677e;outline-offset:2px}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body :is(.panel,.card,.box,main:has(#action),main:has(#securityForm),main:has(#requestForm)) button:not(.danger):not([data-lang]) {
 background:rgba(255,255,255,.56)!important;color:#213041!important;
 border:1px solid rgba(255,255,255,.88)!important;
 border-radius:15px;
 -webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
 box-shadow:0 6px 20px rgba(41,58,80,.08),inset 0 1px #fff;
}
html.yoshi-restaurant-skin:not([data-theme="dark"]) body .box a {
 background:rgba(255,255,255,.58)!important;color:#213041!important;
 border:1px solid rgba(255,255,255,.88);border-radius:15px;
 -webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);
 box-shadow:0 6px 20px rgba(41,58,80,.08);
}
/* Cart maximum width doubles from 760px to 1520px when space permits. */
#cartOverlay{place-items:center;padding:16px;background:rgba(18,36,65,.52)}
#cartOverlay .sheet{
 width:min(1520px,100%);max-width:1520px;min-height:min(72dvh,680px);max-height:calc(100dvh - 32px);
 padding:26px clamp(16px,3vw,38px) 28px;border-radius:24px;box-shadow:0 28px 95px rgba(27,53,92,.28);
}
#cartOverlay .cart-dialog-head{
 position:sticky;top:-26px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;
 margin:0 0 12px;padding:10px 0 16px;background:inherit;border-bottom:1px solid var(--line,#c6d1df);
}
#cartOverlay .cart-dialog-head h2{margin:0;font-size:clamp(1.35rem,2.5vw,2rem)}
#cartOverlay .cart-close-x{
 width:48px;height:48px;min-width:48px;display:grid;place-items:center;font:500 34px/1 Arial,sans-serif;
 border-radius:50%;border:1px solid #b8c8dc;background:#fff;color:#152136;cursor:pointer;
}
#cartOverlay .cart-close-x:hover{background:rgba(255,255,255,.78)}
#cartOverlay .cartRow{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:22px;padding:17px 4px;
 border-bottom:1px solid var(--line,#c6d1df);
}
#cartOverlay .cart-line-main{
 display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:18px;min-width:0;
}
#cartOverlay .cart-line-photo,#cartOverlay .cart-line-placeholder{
 width:94px;height:94px;border-radius:16px;object-fit:cover;display:block;background:#e4eef9;
}
#cartOverlay .cart-line-placeholder{display:grid;place-items:center;color:#124caa;font-size:34px}
#cartOverlay .cart-line-detail{min-width:0;overflow-wrap:anywhere}
#cartOverlay .cart-line-detail>b{font-size:1.05rem;line-height:1.35;display:block;margin-bottom:7px}
#cartOverlay .cart-choice{display:flex;gap:8px;align-items:center;font-size:.92rem;padding:2px 0}
#cartOverlay .cart-choice-photo{width:30px;height:30px;border-radius:7px;object-fit:cover;flex:none}
#cartOverlay .qty{flex-wrap:nowrap}
#cartOverlay .qty button{min-width:40px;min-height:40px}
#cartOverlay .cart-note-field{margin-top:22px}
#cartOverlay .actions{position:sticky;bottom:-28px;z-index:2;padding:14px 0 2px;background:inherit}
#cartOverlay .actions .btn{min-height:50px;font-size:1rem}
html[data-theme="dark"] #cartOverlay .cart-close-x{background:#263448;border-color:#53657b;color:#fff}
html[data-theme="dark"] #cartOverlay .cart-line-placeholder{background:#334155;color:#f3e7e3}
@media(max-width:700px){
 #cartOverlay{padding:7px}
 #cartOverlay .sheet{width:100%;max-height:calc(100dvh - 14px);min-height:min(78dvh,650px);border-radius:18px;padding:14px 14px 20px}
 #cartOverlay .cart-dialog-head{top:-14px;padding:8px 0 12px}
 #cartOverlay .cartRow{gap:10px;padding:12px 0}
 #cartOverlay .cart-line-main{grid-template-columns:62px minmax(0,1fr);gap:9px}
 #cartOverlay .cart-line-photo,#cartOverlay .cart-line-placeholder{width:62px;height:62px;border-radius:10px}
 #cartOverlay .cart-line-detail>b{font-size:.94rem}
 #cartOverlay .qty{gap:4px}
 #cartOverlay .qty button{width:34px;min-width:34px;height:36px;min-height:36px}
 #cartOverlay .actions{bottom:-20px}
}
@media(max-width:390px){#cartOverlay .cartRow{grid-template-columns:1fr;gap:7px}#cartOverlay .qty{justify-content:flex-end}}
@media (max-width: 600px) {
 .topbar:has(.kiosk-top-controls) {
  flex-wrap: wrap;
 }
 .kiosk-top-controls {
  flex: 1 0 100%;
  flex-wrap: wrap;
  min-width: 0;
 }
}
@media(prefers-reduced-motion:reduce){html.yoshi-restaurant-skin:not([data-theme="dark"]) body .dish{transition:none}}
