/* sm-windows.css — StudentMenu shop windows and Explore, v1.3 (purple #6C3FC5 / orange #FF7A1F, Sora + Manrope).
   Everything is scoped under .smw; the colours are variables, so the page's own theme can override them.

   Looks: the base rules are the 'anchor' look; .smw-v-backdrop, .smw-v-cards, .smw-v-film and .smw-v-ticket change it.
   Phones: the script adds .smw-compact when the windows are narrower than 640px (their own width, not the screen's).
   Set --smw-bleed to your page's side margin (e.g. 16px) and the carousels run to the screen's edge on phones.

   R193 (StudentMenu's pages): dark follows the app's own switch only (body.dark, html.dark or [data-theme="dark"]), not
   the phone's setting, so a light page never shows dark windows; the skeletons are frosted plate with light passing
   over them (sm-motion.css's m-shimmer, by transform); a window opened from a story slides in and its dishes fade in
   (its own glass never fades); the orange flash is a glow layer's opacity, not an animated box-shadow. */
.smw {
  --smw-purple: #6C3FC5; --smw-purple-2: #8B5CF6; --smw-orange: #FF7A1F;
  --smw-green: #15803D; --smw-green-bg: rgba(21, 128, 61, .10);
  --smw-ink: #1d1530; --smw-ink-soft: #5b5270; --smw-ink-faint: #8d84a3;
  --smw-glass: rgba(255, 255, 255, .72); --smw-glass-line: rgba(108, 63, 197, .14); --smw-line: rgba(29, 21, 48, .12);
  --smw-card: #fff; --smw-card-line: rgba(29, 21, 48, .07); --smw-card-shadow: 0 10px 24px -16px rgba(30, 20, 60, .42);
  --smw-shadow: 0 14px 30px -18px rgba(40, 20, 80, .45); --smw-ring-gap: #fff;
  --smw-dark-btn: #1d1530; --smw-dark-btn-ink: #fff;
  /* chips, as on the home page: Discount blue, Student Promotion purple, Offer orange, Group Buy green */
  --smw-chip-blue: #e5edff; --smw-chip-blue-ink: #2150b8; --smw-chip-purple: #efe7ff; --smw-chip-purple-ink: #5b2fb3;
  --smw-chip-orange: #ffefe0; --smw-chip-orange-ink: #b4500f; --smw-chip-green: #ddf4e9; --smw-chip-green-ink: #0f7656;
  --smw-chip-red: #ffe6e6; --smw-chip-red-ink: #bf2630; --smw-chip-plain: #fff; --smw-chip-plain-ink: #4d4566; --smw-chip-plain-line: rgba(29, 21, 48, .13);
  --smw-anchor-w: 236px; --smw-card-w: 186px; --smw-gap: 12px; --smw-radius: 22px; --smw-bleed: 0px;
  --smw-display: 'Sora', system-ui, sans-serif; --smw-body: 'Manrope', system-ui, sans-serif;
  font-family: var(--smw-body); color: var(--smw-ink);
}
:root[data-theme="dark"] .smw, html.dark .smw, body.dark .smw, body[data-theme="dark"] .smw {
  --smw-ink: #f1ecff; --smw-ink-soft: #c7bde3; --smw-ink-faint: #9b90b8; --smw-green: #4ADE80; --smw-green-bg: rgba(74, 222, 128, .12);
  --smw-glass: rgba(36, 26, 60, .66); --smw-glass-line: rgba(180, 150, 255, .18); --smw-line: rgba(220, 205, 255, .14);
  --smw-card: #1f1733; --smw-card-line: rgba(220, 205, 255, .10); --smw-card-shadow: 0 10px 24px -16px rgba(0, 0, 0, .75);
  --smw-shadow: 0 16px 34px -18px rgba(0, 0, 0, .7); --smw-ring-gap: #120c22; --smw-dark-btn: #f1ecff; --smw-dark-btn-ink: #1d1530;
  --smw-chip-blue: rgba(59, 130, 246, .2); --smw-chip-blue-ink: #b3cbff; --smw-chip-purple: rgba(139, 92, 246, .24); --smw-chip-purple-ink: #dccbff;
  --smw-chip-orange: rgba(255, 122, 31, .2); --smw-chip-orange-ink: #ffc49d; --smw-chip-green: rgba(52, 211, 153, .18); --smw-chip-green-ink: #97ebc8;
  --smw-chip-red: rgba(248, 113, 113, .2); --smw-chip-red-ink: #ffb8b8; --smw-chip-plain: rgba(255, 255, 255, .06); --smw-chip-plain-ink: #ddd5f2; --smw-chip-plain-line: rgba(255, 255, 255, .14);
}
.smw *, .smw *::before, .smw *::after { box-sizing: border-box; }

/* headings: "Near you", "Explore" */
.smw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 6px 0 4px; }
.smw-title-row { display: flex; align-items: center; gap: 9px; }
.smw-title { margin: 0; font: 800 22px/1.15 var(--smw-display); letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--smw-purple) 0%, var(--smw-purple-2) 55%, #C084FC 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.smw-head-count { font: 800 12px/1 var(--smw-body); color: var(--smw-purple); background: rgba(108, 63, 197, .11); border-radius: 999px; padding: 5px 9px; }
.smw-sub { font-size: 12.5px; color: var(--smw-ink-faint); margin-top: 3px; }
.smw-loc { flex: none; border: 1px solid var(--smw-glass-line); background: var(--smw-glass); color: var(--smw-purple); font: 800 12.5px var(--smw-display);
  border-radius: 999px; padding: 8px 13px; cursor: pointer; backdrop-filter: blur(10px); }
.smw-loc:hover { border-color: var(--smw-purple); }

/* one shop window ('anchor' look): the hero anchored on the left as a tall photo card, the items moving on the right */
.smw-window { position: relative; display: grid; grid-template-columns: var(--smw-anchor-w) minmax(0, 1fr); gap: 0; padding: 14px 0 18px; border-bottom: 1px solid var(--smw-line); }
.smw-anchor { position: relative; z-index: 2; display: block; min-height: 286px; border-radius: var(--smw-radius); color: #fff; text-decoration: none;
  box-shadow: var(--smw-shadow); isolation: isolate; }
.smw-anchor:focus-visible { outline: 3px solid var(--smw-orange); outline-offset: 3px; }
.smw-hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--smw-radius); z-index: -2; }
.smw-hero-none { display: grid; place-items: center; background: linear-gradient(150deg, var(--smw-purple), #2b1a52); }
.smw-hero-none span { font: 800 64px/1 var(--smw-display); color: rgba(255, 255, 255, .22); transform: translateY(-26px); }
.smw-anchor::after { content: ''; position: absolute; inset: 0; border-radius: var(--smw-radius); z-index: -1;
  background: linear-gradient(180deg, rgba(14, 8, 30, 0) 30%, rgba(14, 8, 30, .55) 62%, rgba(14, 8, 30, .9) 100%); }
.smw-anchor-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px 15px; }
.smw-name { font: 800 17px/1.2 var(--smw-display); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.smw-meta { font-size: 12px; opacity: .88; margin-top: 3px; }
.smw-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
/* badges on a photo */
.smw-badge { font: 800 10.5px/1 var(--smw-body); padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); white-space: nowrap; }
.smw-b-discount { background: rgba(37, 99, 235, .88); border-color: transparent; }
.smw-b-student, .smw-b-promotion, .smw-b-plus { background: rgba(108, 63, 197, .92); border-color: transparent; }
.smw-b-student_hour { background: rgba(220, 38, 38, .85); border-color: transparent; }
.smw-b-offer, .smw-b-deal { background: rgba(234, 108, 20, .92); border-color: transparent; }
.smw-b-group { background: rgba(13, 148, 100, .9); border-color: transparent; }
/* badges on white (the 'cards' look, and the phone headers): the home page's chips */
.smw-v-cards .smw-badge { font-size: 11.5px; padding: 6px 10px; border: 0; backdrop-filter: none; background: var(--smw-chip-plain); color: var(--smw-chip-plain-ink); box-shadow: inset 0 0 0 1px var(--smw-chip-plain-line); }
.smw-v-cards .smw-b-discount { background: var(--smw-chip-blue); color: var(--smw-chip-blue-ink); box-shadow: none; }
.smw-v-cards :is(.smw-b-student, .smw-b-promotion, .smw-b-plus) { background: var(--smw-chip-purple); color: var(--smw-chip-purple-ink); box-shadow: none; }
.smw-v-cards :is(.smw-b-offer, .smw-b-deal) { background: var(--smw-chip-orange); color: var(--smw-chip-orange-ink); box-shadow: none; }
.smw-v-cards .smw-b-group { background: var(--smw-chip-green); color: var(--smw-chip-green-ink); box-shadow: none; }
.smw-v-cards .smw-b-student_hour { background: var(--smw-chip-red); color: var(--smw-chip-red-ink); box-shadow: none; }
/* the shop's circle (its logo, or its initials); in this look it sits on the hero's edge, clear of the name */
.smw-logo { position: absolute; right: -20px; top: 36%; width: 58px; height: 58px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; background: #fff; box-shadow: 0 8px 18px -6px rgba(20, 10, 40, .5); }
.smw-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.smw-logo-text { display: grid; place-items: center; background: linear-gradient(140deg, #8B5CF6, #5a2fb0); color: #fff; font: 800 17px/1 var(--smw-display); letter-spacing: .02em; }
.smw-anchor:hover .smw-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* extras that some looks show */
.smw-deal, .smw-count, .smw-cta, .smw-progress, .smw-backdrop, .smw-save, .smw-item-meta, .smw-tags { display: none; }

.smw-rail { position: relative; min-width: 0; }
.smw-track { position: relative; display: flex; gap: var(--smw-gap); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 6px 18px 12px 30px; cursor: grab; outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%); }
.smw-track::-webkit-scrollbar { display: none; }
.smw-track.smw-dragging { cursor: grabbing; user-select: none; }
.smw-track:focus-visible { box-shadow: inset 0 0 0 2px var(--smw-purple); border-radius: 14px; }

/* an item ("window") */
.smw-item { position: relative; flex: 0 0 var(--smw-card-w); display: flex; flex-direction: column; padding: 8px 8px 10px; border-radius: 18px;
  background: var(--smw-glass); border: 1px solid var(--smw-glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.smw-img { position: relative; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: linear-gradient(140deg, #efe9fb, #e2d8f8);
  /* a slight shadow, for depth under the photo */
  box-shadow: 0 12px 20px -12px rgba(30, 15, 60, .55), 0 2px 6px rgba(30, 15, 60, .10); }
.smw-img img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.smw-noimg .smw-img { display: grid; place-items: center; }
.smw-initial { font: 800 34px var(--smw-display); color: rgba(108, 63, 197, .45); }
.smw-item-name { margin: 9px 2px 3px; font: 700 13.5px/1.28 var(--smw-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.56em; }
.smw-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 0 2px 9px; min-height: 22px; }
.smw-was { color: var(--smw-ink-faint); font-size: 12.5px; text-decoration-thickness: 1.5px; }
.smw-now { color: var(--smw-green); font: 800 15.5px var(--smw-display); }
.smw-price { color: var(--smw-ink); font: 800 15px var(--smw-display); }
.smw-plus { font: 800 10.5px/1 var(--smw-body); color: #fff; background: var(--smw-purple); border-radius: 999px; padding: 4px 7px; }
.smw-tags { gap: 6px; flex-wrap: nowrap; overflow: hidden; }
/* a dish (or the 'film' hero card) is a link: its name stretches over the whole card, under the Order button */
.smw-tap { isolation: isolate; cursor: pointer; }
.smw-link { color: inherit; text-decoration: none; outline: none; -webkit-user-drag: none; }
.smw-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: auto; }
.smw-link:focus-visible::after { box-shadow: inset 0 0 0 3px var(--smw-orange); }
.smw-tap .smw-order { position: relative; z-index: 3; }
.smw-tap :is(.smw-item-name, .smw-prices, .smw-save, .smw-tags, .smw-item-meta, .smw-plate, .smw-hc-foot, .smw-badges) { pointer-events: none; }
.smw-tap .smw-link { pointer-events: auto; }
.smw-img img { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.smw-tap:hover .smw-img img { transform: scale(1.035); }
.smw-anchor { -webkit-user-drag: none; }
.smw-tag { font: 800 11px/1 var(--smw-body); padding: 5px 8px; border-radius: 999px; white-space: nowrap; background: var(--smw-chip-plain); color: var(--smw-chip-plain-ink); box-shadow: inset 0 0 0 1px var(--smw-chip-plain-line); }
.smw-t-veg { background: var(--smw-chip-green); color: var(--smw-chip-green-ink); box-shadow: none; }
.smw-t-spicy { background: var(--smw-chip-red); color: var(--smw-chip-red-ink); box-shadow: none; }
.smw-t-new, .smw-t-student { background: var(--smw-chip-purple); color: var(--smw-chip-purple-ink); box-shadow: none; }
.smw-t-sharer, .smw-t-group { background: var(--smw-chip-blue); color: var(--smw-chip-blue-ink); box-shadow: none; }
.smw-order { margin-top: auto; width: 100%; min-height: 40px; border: 0; border-radius: 999px; padding: 10px 12px; cursor: pointer;
  font: 800 13px var(--smw-display); color: #fff; background: linear-gradient(135deg, #7c4fe0, var(--smw-purple));
  box-shadow: 0 8px 16px -8px rgba(108, 63, 197, .8); transition: transform .12s ease, filter .12s ease; }
.smw-order:hover { filter: brightness(1.08); }
.smw-order:active { transform: scale(.97); }
.smw-order:focus-visible { outline: 3px solid var(--smw-orange); outline-offset: 2px; }
.smw-order.smw-done { background: var(--smw-green); box-shadow: none; }
.smw-order:disabled { cursor: default; }
.smw-skeleton { height: 262px; position: relative; overflow: hidden; background: var(--m-skel, rgba(108, 63, 197, .07)); box-shadow: inset 0 0 0 1px var(--smw-glass-line); }
/* the light passing over a loading card moves by transform (sm-motion.css's recipe; the keyframes are repeated here so
   the windows also work on a page without sm-motion.css) */
.smw-skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); pointer-events: none;
  background: linear-gradient(100deg, transparent 18%, var(--m-skel-light, rgba(255, 255, 255, .72)) 50%, transparent 82%);
  animation: m-shimmer var(--m-shimmer-time, 1.6s) var(--m-in-out, ease-in-out) infinite; }
@keyframes m-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.smw-none { align-self: center; padding: 20px 8px; font-weight: 700; }
.smw-none a { color: var(--smw-purple); }

/* arrows: three cards along (desktop) */
.smw-arrow { position: absolute; top: calc(50% - 20px); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--smw-glass-line);
  background: var(--smw-glass); color: var(--smw-purple); font: 800 22px/1 var(--smw-display); cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(10px); box-shadow: var(--smw-shadow); opacity: 0; transition: opacity .15s ease; }
.smw-prev { left: 26px; } .smw-next { right: 4px; }
.smw-rail:hover .smw-arrow, .smw-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .smw-arrow { display: none; } }

/* Explore: windows opened from the stories, newest on top */
.smw-explore[hidden] { display: none; }
.smw-explore { margin-bottom: 8px; }
.smw-explore .smw-window { padding-top: 12px; }
/* × sits on the hero's top corner, away from the items */
.smw-close { position: absolute; top: 24px; left: calc(var(--smw-anchor-w) - 40px); z-index: 4; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(14, 8, 30, .55); color: #fff; font: 700 18px/1 var(--smw-body); cursor: pointer; backdrop-filter: blur(8px); }
.smw-close:hover { background: rgba(14, 8, 30, .8); }
/* opening: the window slides in and its dishes fade in (the shop bar's glass never fades, so its frost can't pop in late) */
.smw-opening { animation: smw-open .42s cubic-bezier(.2, .8, .2, 1); }
.smw-opening .smw-rail { animation: smw-fade .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes smw-open { from { transform: translateY(-10px); } }
@keyframes smw-fade { from { opacity: 0; } }
/* the flash: an orange ring's opacity, once */
.smw-anchor, .smw-bar-logo { position: relative; }
.smw-flash :is(.smw-anchor, .smw-bar-logo)::before { content: ''; position: absolute; inset: -4px; z-index: 3; border-radius: calc(var(--smw-radius) + 4px); pointer-events: none;
  box-shadow: 0 0 0 4px rgba(255, 122, 31, .75); opacity: 0; animation: smw-flash 1s ease; }
.smw-flash .smw-bar-logo::before { border-radius: 50%; }
@keyframes smw-flash { 30% { opacity: 1; } }

/* phones (any look): smaller headings, bigger buttons */
.smw-compact { --smw-anchor-w: 118px; --smw-card-w: 150px; --smw-gap: 10px; --smw-radius: 18px; }
.smw-compact .smw-title { font-size: 19px; }
.smw-compact .smw-order { min-height: 42px; }
.smw-compact .smw-skeleton { height: 232px; }
/* phones, 'anchor' look: a narrower hero; the items run to the screen's edge */
.smw-compact.smw-v-anchor .smw-anchor { min-height: 250px; }
.smw-compact.smw-v-anchor .smw-name { font-size: 14px; }
.smw-compact.smw-v-anchor .smw-meta { font-size: 11px; }
.smw-compact.smw-v-anchor .smw-logo { display: none; }
.smw-compact.smw-v-anchor .smw-anchor-info { padding: 12px 10px 12px; }
.smw-compact.smw-v-anchor .smw-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.smw-compact.smw-v-anchor .smw-badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.smw-compact.smw-v-anchor .smw-rail { margin-right: calc(-1 * var(--smw-bleed)); }
.smw-compact.smw-v-anchor .smw-track { padding-left: 24px; padding-right: calc(12px + var(--smw-bleed)); }
.smw-compact.smw-v-anchor .smw-close { left: calc(var(--smw-anchor-w) - 36px); top: 22px; }

/* ── 'backdrop': the hero fills the whole window, the shop's circle bottom-left, white cards float over it ─────── */
.smw-v-backdrop { --smw-anchor-w: 250px; --smw-card-w: 190px; }
.smw-v-backdrop .smw-window { margin: 14px 0 22px; padding: 0; border: 0; border-radius: 26px; overflow: hidden; isolation: isolate; min-height: 340px;
  background: linear-gradient(150deg, #4a2d86, #1d1236); box-shadow: 0 26px 50px -30px rgba(30, 15, 60, .7); }
.smw-v-backdrop .smw-backdrop { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.smw-v-backdrop .smw-window::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 8, 30, 0) 0%, rgba(14, 8, 30, .3) 42%, rgba(14, 8, 30, .86) 100%),
              linear-gradient(90deg, rgba(14, 8, 30, .62) 0%, rgba(14, 8, 30, .12) 36%, rgba(14, 8, 30, 0) 60%); }
.smw-v-backdrop .smw-anchor { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; padding: 22px; border-radius: 0; box-shadow: none; }
.smw-v-backdrop .smw-hero, .smw-v-backdrop .smw-anchor::after { display: none; }
.smw-v-backdrop .smw-logo { position: static; width: 68px; height: 68px; margin-bottom: 12px; border: 3px solid rgba(255, 255, 255, .92); }
.smw-v-backdrop .smw-logo-text { font-size: 21px; }
.smw-v-backdrop .smw-anchor-info { position: static; padding: 0; }
.smw-v-backdrop .smw-name { font-size: 21px; }
.smw-v-backdrop .smw-count { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; opacity: .85; }
.smw-v-backdrop .smw-rail { align-self: end; padding: 22px 0 32px; }
.smw-v-backdrop .smw-track { padding: 4px 22px 10px 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent 100%); }
.smw-v-backdrop .smw-item { padding: 0; overflow: hidden; border: 0; border-radius: 20px; background: var(--smw-card); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .65); }
.smw-v-backdrop .smw-img { border-radius: 0; z-index: 1; box-shadow: 0 12px 18px -12px rgba(20, 10, 40, .6); }
.smw-v-backdrop .smw-item-name { margin: 11px 12px 2px; }
.smw-v-backdrop .smw-prices { margin: 0 12px 10px; }
.smw-v-backdrop .smw-order { align-self: flex-start; width: auto; margin: auto 12px 12px; padding: 9px 20px; }
.smw-v-backdrop .smw-progress { display: block; position: absolute; left: calc(var(--smw-anchor-w) + 4px); right: 26px; bottom: 16px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.smw-v-backdrop .smw-progress i { position: absolute; top: 0; bottom: 0; left: calc(var(--smw-p, 0) * (1 - var(--smw-v, .3)) * 100%); width: calc(var(--smw-v, .3) * 100%); border-radius: 3px; background: #fff; }
.smw-v-backdrop .smw-arrow { top: calc(50% - 30px); }
.smw-v-backdrop .smw-close { left: auto; right: 14px; top: 14px; }
.smw-v-backdrop .smw-flash .smw-anchor::before { display: none; }
.smw-v-backdrop.smw-compact .smw-window { grid-template-columns: minmax(0, 1fr); min-height: 0; margin: 12px 0 18px; border-radius: 22px; }
.smw-v-backdrop.smw-compact .smw-window::before { background: linear-gradient(180deg, rgba(14, 8, 30, .05) 0%, rgba(14, 8, 30, .4) 30%, rgba(14, 8, 30, .9) 100%); }
.smw-v-backdrop.smw-compact .smw-anchor { flex-direction: row; align-items: flex-end; gap: 12px; min-height: 150px; padding: 16px 16px 4px; }
.smw-v-backdrop.smw-compact .smw-logo { width: 54px; height: 54px; margin: 0; flex: none; }
.smw-v-backdrop.smw-compact .smw-logo-text { font-size: 17px; }
.smw-v-backdrop.smw-compact .smw-anchor-info { min-width: 0; flex: 1; }
.smw-v-backdrop.smw-compact .smw-name { font-size: 18px; }
.smw-v-backdrop.smw-compact .smw-count { display: none; }
.smw-v-backdrop.smw-compact .smw-rail { padding: 10px 0 28px; }
.smw-v-backdrop.smw-compact .smw-track { padding-left: 16px; padding-right: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 22px), transparent 100%); }
.smw-v-backdrop.smw-compact .smw-progress { left: 16px; right: 16px; bottom: 13px; }
.smw-v-backdrop.smw-compact .smw-order { padding: 8px 16px; }
.smw-v-backdrop.smw-compact .smw-closable .smw-anchor { padding-right: 52px; }

/* ── 'cards': white cards like the home page's restaurant cards, with the same chips and a "menu »" pill ─────────── */
.smw-v-cards { --smw-anchor-w: 250px; --smw-card-w: 208px; --smw-gap: 14px; }
.smw-v-cards .smw-window { gap: 14px; padding: 14px 0 18px; border-bottom: 0; }
.smw-v-cards .smw-anchor { display: flex; flex-direction: column; min-height: 0; overflow: hidden; color: var(--smw-ink); border-radius: 18px;
  background: var(--smw-card); border: 1px solid var(--smw-card-line); box-shadow: var(--smw-card-shadow); }
.smw-v-cards .smw-anchor::after, .smw-v-cards .smw-logo { display: none; }
.smw-v-cards .smw-hero { position: relative; z-index: 0; inset: auto; flex: none; height: 142px; border-radius: 0; }
.smw-v-cards .smw-hero-none { background: linear-gradient(140deg, #f1ebfd, #e4daf9); }
.smw-v-cards .smw-hero-none span { color: rgba(108, 63, 197, .45); font-size: 56px; transform: none; }
.smw-v-cards .smw-anchor-info { position: static; display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 13px 14px 14px; }
.smw-v-cards .smw-name { font-size: 17px; text-shadow: none; }
.smw-v-cards .smw-meta { color: var(--smw-ink-faint); opacity: 1; font-size: 12.5px; }
.smw-v-cards .smw-badges { margin-top: 10px; margin-bottom: 12px; }
.smw-v-cards .smw-cta { display: inline-flex; align-items: center; margin-top: auto; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--smw-purple); color: var(--smw-purple); font: 800 12.5px/1 var(--smw-body); }
.smw-v-cards .smw-anchor:hover .smw-cta { background: var(--smw-purple); color: #fff; }
.smw-v-cards .smw-rail, .smw-v-ticket .smw-rail { display: flex; flex-direction: column; }
.smw-v-cards .smw-track, .smw-v-ticket .smw-track { flex: 1; }
.smw-v-cards .smw-track { padding: 4px 18px 14px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 30px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 30px), transparent 100%); }
.smw-v-cards .smw-prev { left: 14px; }
.smw-v-cards .smw-item { padding: 0; overflow: hidden; border: 1px solid var(--smw-card-line); border-radius: 16px; background: var(--smw-card); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--smw-card-shadow); }
.smw-v-cards .smw-img { border-radius: 0; z-index: 1; box-shadow: 0 10px 16px -12px rgba(30, 15, 60, .5); }
.smw-v-cards .smw-item-name { margin: 11px 12px 0; min-height: 0; -webkit-line-clamp: 1; font: 700 15px/1.3 var(--smw-display); }
.smw-v-cards .smw-item-meta { display: block; margin: 2px 12px 0; font-size: 12.5px; color: var(--smw-ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smw-v-cards .smw-tags { display: flex; margin: 9px 12px 0; }
.smw-v-cards .smw-prices { margin: 10px 12px 10px; }
.smw-v-cards .smw-order { width: auto; margin: auto 12px 12px; }
.smw-v-cards .smw-close { left: calc(var(--smw-anchor-w) - 42px); top: 24px; }
.smw-v-cards.smw-compact { --smw-card-w: 162px; --smw-gap: 12px; }
.smw-v-cards.smw-compact .smw-window { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 0 14px; }
.smw-v-cards.smw-compact .smw-anchor { flex-direction: row; align-items: center; gap: 12px; overflow: visible; background: none; border: 0; box-shadow: none; border-radius: 16px; }
.smw-v-cards.smw-compact .smw-item-name { -webkit-line-clamp: 2; font-size: 14px; }
.smw-v-cards.smw-compact .smw-hero { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 6px 14px -8px rgba(30, 15, 60, .5); }
.smw-v-cards.smw-compact .smw-hero-none span { font-size: 26px; }
/* the phone header reads like the home page's section headers: "Flavour Lounge  16 dishes  menu »" */
.smw-v-cards.smw-compact .smw-anchor-info { display: grid; grid-template-columns: minmax(0, max-content) max-content 1fr; grid-template-areas: "name count cta" "meta meta meta" "badges badges badges";
  align-items: center; column-gap: 8px; padding: 0; min-width: 0; }
.smw-v-cards.smw-compact .smw-name { grid-area: name; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(100deg, var(--smw-purple), var(--smw-purple-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.smw-v-cards.smw-compact .smw-count { grid-area: count; margin: 0; padding: 5px 8px; border-radius: 999px; background: rgba(108, 63, 197, .11); color: var(--smw-purple); font: 800 11px/1 var(--smw-body); }
.smw-v-cards.smw-compact .smw-cta { grid-area: cta; justify-self: end; margin: 0; padding: 7px 11px; font-size: 12px; }
.smw-v-cards.smw-compact .smw-meta { grid-area: meta; }
.smw-v-cards.smw-compact .smw-badges { grid-area: badges; margin-top: 7px; flex-wrap: nowrap; overflow: hidden; }
/* phones, header looks: the items run to the screen's edge */
:is(.smw-v-cards, .smw-v-film, .smw-v-ticket).smw-compact .smw-rail { margin: 0 calc(-1 * var(--smw-bleed)); }
:is(.smw-v-cards, .smw-v-film, .smw-v-ticket).smw-compact .smw-track { padding-left: max(2px, var(--smw-bleed)); padding-right: max(12px, var(--smw-bleed));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 max(2px, var(--smw-bleed)), #000 calc(100% - max(12px, var(--smw-bleed))), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 max(2px, var(--smw-bleed)), #000 calc(100% - max(12px, var(--smw-bleed))), transparent 100%); }
.smw-v-cards.smw-compact .smw-b-more { display: none; }
.smw-v-cards.smw-compact .smw-closable .smw-anchor { padding-right: 44px; }
.smw-v-cards.smw-compact .smw-closable .smw-cta { display: none; }
.smw-v-cards.smw-compact .smw-close { left: auto; right: 0; top: 26px; }

/* ── 'film': tall photo cards, the price on the photo, a round +. The hero is a story-ringed card with the shop's
   circle and name bottom-left; on phones it leads the strip as its first card. Tap a card: the shop's menu at it. ── */
.smw-v-film { --smw-anchor-w: 212px; --smw-card-w: 196px; --smw-gap: 12px; --smw-hc-w: 196px; }
.smw-v-film .smw-window { gap: 14px; padding: 14px 0 18px; border-bottom: 0; }
.smw-v-film .smw-anchor { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; padding: 3px; border-radius: 26px;
  background: linear-gradient(165deg, #7c4ddb 0%, #b45fd2 48%, #f08a3c 100%);
  /* a slight shadow, for depth */
  box-shadow: 0 1px 2px rgba(20, 10, 40, .12), 0 18px 32px -18px rgba(40, 18, 80, .65); transition: transform .2s ease, box-shadow .2s ease; }
.smw-v-film .smw-anchor:hover { transform: translateY(-2px); }
.smw-v-film .smw-hero { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 23px; }
.smw-v-film .smw-anchor::after { inset: 3px; border-radius: 23px; background: linear-gradient(180deg, rgba(14, 8, 30, 0) 34%, rgba(14, 8, 30, .5) 60%, rgba(14, 8, 30, .9) 100%); }
/* the shop's circle and name, bottom left */
.smw-v-film .smw-logo { position: static; flex: none; width: 46px; height: 46px; margin: 0 0 10px 15px; border-width: 2px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.smw-v-film .smw-logo-text { font-size: 15px; }
.smw-v-film .smw-anchor-info { position: static; padding: 0 16px 17px; }
.smw-v-film .smw-name { font-size: 20px; line-height: 1.15; text-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 6px 18px rgba(0, 0, 0, .45); }
.smw-v-film .smw-meta { text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.smw-v-film .smw-track { padding: 4px 18px 14px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 30px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 30px), transparent 100%); }
.smw-v-film .smw-prev { left: 14px; }
/* a dish: the photo fills the card; its name and the price sit at the bottom, the Order button beside the price */
.smw-v-film .smw-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto; grid-template-areas: "top top" "name name" "price order";
  align-items: end; column-gap: 8px; padding: 0 10px 10px 12px; aspect-ratio: 3 / 4; overflow: hidden; border: 0; border-radius: 20px; background: #2a1f40;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(20, 10, 40, .12), 0 14px 26px -14px rgba(20, 10, 40, .62); transition: transform .2s ease, box-shadow .2s ease; }
.smw-v-film .smw-item:not(.smw-skeleton):hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20, 10, 40, .12), 0 20px 32px -16px rgba(20, 10, 40, .7); }
.smw-v-film .smw-item.smw-skeleton { height: auto; }
.smw-v-film .smw-img { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: linear-gradient(150deg, #43306a, #1c1430); }
.smw-v-film .smw-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 6, 20, 0) 42%, rgba(10, 6, 20, .5) 66%, rgba(10, 6, 20, .88) 100%); }
.smw-v-film .smw-initial { color: rgba(255, 255, 255, .3); font-size: 64px; transform: translateY(-34px); }
.smw-v-film .smw-item-name { grid-area: name; margin: 0 2px 8px; min-height: 0; color: #fff; font: 800 15px/1.25 var(--smw-display); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.smw-v-film .smw-prices { grid-area: price; position: relative; z-index: 2; justify-self: start; max-width: 100%; margin: 0; min-height: 0; padding: 7px 11px; flex-wrap: nowrap; gap: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .96); }
.smw-v-film .smw-was { color: #8d84a3; font-size: 11.5px; }
.smw-v-film .smw-now { color: #15803D; font-size: 15px; }
.smw-v-film .smw-price { color: #1d1530; font-size: 15px; }
.smw-v-film .smw-plus { display: none; }
.smw-v-film .smw-order { grid-area: order; position: relative; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; font-size: 0; }
.smw-v-film .smw-order::before { content: '+'; font: 800 26px/1 var(--smw-display); }
.smw-v-film .smw-order.smw-view::before { content: '›'; }
.smw-v-film .smw-order.smw-done::before { content: '✓'; font-size: 19px; }
.smw-v-film .smw-save { display: block; position: absolute; z-index: 2; top: 10px; left: 10px; font-size: 0; }
.smw-v-film .smw-save::before { content: '−' attr(data-pct) '%'; display: inline-block; padding: 6px 9px; border-radius: 999px; background: var(--smw-orange); color: #fff; font: 800 12px/1 var(--smw-display); box-shadow: 0 6px 12px -6px rgba(190, 80, 0, .8); }
.smw-v-film .smw-close { left: calc(var(--smw-anchor-w) - 44px); top: 26px; }
/* the hero as the strip's first card (phones), with the stories' ring */
.smw-v-film .smw-herocard { display: none; flex-basis: var(--smw-hc-w); grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "top" "foot";
  padding: 0 12px 12px; border: 3px solid transparent; border-radius: 22px;
  background: linear-gradient(#2a1f40, #2a1f40) padding-box, linear-gradient(165deg, #7c4ddb, #b45fd2 48%, #f08a3c) border-box; }
:is(.smw-v-film.smw-compact, .smw-v-film.smw-herofirst) .smw-herocard { display: grid; }
.smw-v-film .smw-herocard .smw-img::after { background: linear-gradient(180deg, rgba(14, 8, 30, 0) 30%, rgba(14, 8, 30, .55) 58%, rgba(14, 8, 30, .92) 100%); }
.smw-v-film .smw-hc-foot { grid-area: foot; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.smw-v-film .smw-herocard .smw-logo { position: static; width: 38px; height: 38px; margin: 0 0 2px; border-width: 2px; }
.smw-v-film .smw-herocard .smw-logo-text { font-size: 13px; }
.smw-v-film .smw-hc-text { min-width: 0; max-width: 100%; }
.smw-v-film .smw-hc-name { margin: 0; font-size: 17px; line-height: 1.15; -webkit-line-clamp: 2; }
.smw-v-film .smw-hc-meta { margin-top: 3px; color: rgba(255, 255, 255, .88); font-size: 11.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.smw-v-film .smw-herocard .smw-badges { margin-top: 2px; flex-wrap: nowrap; max-width: 100%; overflow: hidden; }
/* phones and narrow columns: the hero joins the strip, the dishes follow it, all running to the screen's edge */
.smw-v-film.smw-compact { --smw-card-w: 150px; --smw-hc-w: 172px; --smw-gap: 10px; }
.smw-v-film.smw-compact .smw-window { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0 14px; }
.smw-v-film.smw-compact .smw-anchor { display: none; }
.smw-v-film.smw-herofirst .smw-window { grid-template-columns: minmax(0, 1fr); gap: 0; }
.smw-v-film.smw-herofirst .smw-anchor { display: none; }
.smw-v-film.smw-compact .smw-item { padding: 0 8px 8px 10px; column-gap: 6px; }
.smw-v-film.smw-compact .smw-item-name { font-size: 13.5px; margin-bottom: 7px; }
.smw-v-film.smw-compact .smw-prices { padding: 6px 9px; gap: 0 5px; }
.smw-v-film.smw-compact .smw-was { font-size: 10.5px; }
.smw-v-film.smw-compact :is(.smw-now, .smw-price) { font-size: 13.5px; }
.smw-v-film.smw-compact .smw-order { width: 40px; height: 40px; }
.smw-v-film.smw-compact .smw-save { top: 8px; left: 8px; }
.smw-v-film.smw-compact .smw-closable { padding-top: 42px; }
.smw-v-film.smw-compact .smw-close { left: auto; right: 0; top: 6px; width: 32px; height: 32px; }
/* on the page (not on a photo) the × needs ink, whatever the glass */
.smw-v-film.smw-compact .smw-close, .smw-glass.smw-compact .smw-close { color: #fff; background: rgba(32, 26, 51, .58); border: 1px solid rgba(255, 255, 255, .22); }
.smw-v-film .smw-herocard .smw-b-more { display: none; }

/* ── glass: a quiet premium finish for the controls over the photos ('film' + `glass`). The photos stay crisp;
   the glass is only on what floats over them: the price, the Order button, the badges, ×, and the arrows. ──────── */
.smw-glass {
  --g-blur: blur(16px) saturate(180%);
  --g-chip: rgba(255, 255, 255, .2); --g-chip-line: rgba(255, 255, 255, .45); --g-ink: #fff; --g-was: rgba(255, 255, 255, .74); --g-now: #A7F3C5;
  --g-btn: rgba(255, 255, 255, .24); --g-btn-line: rgba(255, 255, 255, .5); --g-btn-ink: #fff;
  --g-hi: inset 0 1px 0 rgba(255, 255, 255, .55); --g-drop: 0 8px 20px -10px rgba(10, 5, 25, .6);
  --g-save: rgba(255, 122, 31, .74); --g-badge: rgba(255, 255, 255, .18);
}
.smw-glass :is(.smw-prices, .smw-order, .smw-badge, .smw-close, .smw-arrow), .smw-glass .smw-save::before { -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
.smw-glass .smw-prices { background: var(--g-chip); border: 1px solid var(--g-chip-line); box-shadow: var(--g-hi), var(--g-drop); }
.smw-glass .smw-was { color: var(--g-was); }
.smw-glass .smw-now { color: var(--g-now); }
.smw-glass .smw-price { color: var(--g-ink); }
.smw-glass .smw-order { width: auto; min-width: 44px; padding: 0 14px; gap: 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font: 800 13px/1 var(--smw-display);
  color: var(--g-btn-ink); background: var(--g-btn); border: 1px solid var(--g-btn-line); box-shadow: var(--g-hi), var(--g-drop); transition: transform .12s ease, background .15s ease; }
.smw-glass .smw-order::before { content: none; }
.smw-glass .smw-o-ico { font: 800 20px/1 var(--smw-display); margin-top: -2px; }
.smw-glass .smw-order.smw-done { background: rgba(21, 128, 61, .72); border-color: rgba(255, 255, 255, .4); color: #fff; }
.smw-glass .smw-save::before { background: var(--g-save); border: 1px solid rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 14px -8px rgba(190, 80, 0, .7); }
/* badges on the hero: glass, with a dot in the deal's colour (Discount blue, Student Promotion purple, Offer orange, Group Buy green) */
.smw-glass .smw-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; font-size: 11px; color: var(--g-ink); background: var(--g-badge); border: 1px solid var(--g-chip-line); box-shadow: var(--g-hi); }
.smw-glass .smw-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--b-dot, #fff); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.smw-glass .smw-b-discount { --b-dot: #60A5FA; } .smw-glass :is(.smw-b-student, .smw-b-promotion, .smw-b-plus) { --b-dot: #C4A1FF; }
.smw-glass :is(.smw-b-offer, .smw-b-deal) { --b-dot: #FFA15C; } .smw-glass .smw-b-group { --b-dot: #4ADE80; } .smw-glass .smw-b-student_hour { --b-dot: #FCA5A5; }
.smw-glass .smw-b-more { padding-left: 10px; } .smw-glass .smw-b-more::before { content: none; }
.smw-glass .smw-close { background: var(--g-btn); border: 1px solid var(--g-btn-line); box-shadow: var(--g-hi), var(--g-drop); }
.smw-glass .smw-arrow { background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -12px rgba(40, 20, 80, .5); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .smw-glass { --g-chip: rgba(30, 20, 50, .62); --g-btn: rgba(30, 20, 50, .66); --g-badge: rgba(30, 20, 50, .55); }
}

/* 1 · clear glass: white frosted controls, a round + to order */
.smw-g-clear .smw-order { width: 44px; padding: 0; }
.smw-g-clear .smw-o-txt { display: none; }
.smw-g-clear .smw-o-ico { font-size: 25px; }
.smw-g-clear .smw-order.smw-done { font-size: 0; }
.smw-g-clear .smw-order.smw-done::before { content: '✓'; font: 800 19px/1 var(--smw-display); }
.smw-g-clear.smw-compact .smw-order { width: 40px; }

/* 2 · frosted plate: the lower part of each photo turns to frosted glass, with dark words on it (a blurred copy of
   the same photo, so it costs no more to move than the photo itself) */
.smw-g-plate { --g-ink: #1d1530; --g-was: #7d7494; --g-now: #15803D; --g-chip: transparent; --g-chip-line: transparent;
  --g-btn: rgba(255, 255, 255, .78); --g-btn-line: rgba(255, 255, 255, .95); --g-btn-ink: #5B2FB3; --g-hi: inset 0 1px 0 #fff; --g-drop: 0 6px 16px -10px rgba(40, 20, 80, .55);
  --g-badge: rgba(255, 255, 255, .7); }
.smw-g-plate .smw-plate { position: absolute; left: 0; right: 0; bottom: 0; height: var(--plate-h, 40%); z-index: -1; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .7); }
.smw-g-plate .smw-plate img { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100% * 100 / var(--plate-pct, 40)); object-fit: cover; filter: blur(16px) saturate(1.5); transform: scale(1.12); transform-origin: 50% 100%; }
.smw-g-plate .smw-plate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, .78)); }
.smw-g-plate .smw-item { --plate-h: 40%; --plate-pct: 40; padding: 0 10px 10px 12px; }
.smw-g-plate .smw-item.smw-noimg:not(.smw-herocard)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: var(--plate-h, 40%); z-index: -1; background: rgba(255, 255, 255, .86); border-top: 1px solid rgba(255, 255, 255, .9); }
.smw-g-plate .smw-img::after { background: linear-gradient(180deg, rgba(10, 6, 20, 0) 50%, rgba(10, 6, 20, .18) 60%); }
.smw-g-plate .smw-item-name { color: var(--g-ink); text-shadow: none; margin-bottom: 6px; }
.smw-g-plate .smw-prices { padding: 2px 2px 8px; box-shadow: none; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.smw-g-plate .smw-now, .smw-g-plate .smw-price { font-size: 16px; }
.smw-g-plate .smw-o-ico { display: none; }
.smw-g-plate .smw-order { height: 36px; margin-bottom: 4px; padding: 0 14px; }
.smw-g-plate .smw-anchor::after { background: linear-gradient(180deg, rgba(14, 8, 30, 0) 40%, rgba(14, 8, 30, .22) 70%); }
.smw-g-plate :is(.smw-anchor-info, .smw-hc-foot) { background: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .78)); border-top: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); }
.smw-g-plate .smw-anchor-info { padding: 30px 16px 16px; border-radius: 0 0 23px 23px; }
.smw-g-plate .smw-anchor .smw-logo { position: relative; inset: auto; z-index: 2; margin: 0 0 -23px 15px; }
.smw-g-plate .smw-anchor :is(.smw-name, .smw-meta) { color: var(--g-ink); text-shadow: none; opacity: 1; }
.smw-g-plate .smw-anchor .smw-meta { color: #5b5270; }
.smw-g-plate .smw-herocard { padding: 0; }
.smw-g-plate .smw-herocard .smw-img::after { background: none; }
.smw-g-plate .smw-hc-foot { width: 100%; padding: 0 12px 12px; border-radius: 0 0 19px 19px; }
.smw-g-plate .smw-herocard .smw-logo { margin: -21px 0 0; position: relative; inset: auto; z-index: 2; }
.smw-g-plate .smw-herocard :is(.smw-hc-name, .smw-hc-meta) { color: var(--g-ink); text-shadow: none; }
.smw-g-plate .smw-herocard .smw-hc-meta { color: #5b5270; }
.smw-g-plate .smw-badge { color: #3b2f5c; border-color: rgba(255, 255, 255, .9); box-shadow: 0 1px 2px rgba(40, 20, 80, .12); }
.smw-g-plate .smw-badge::before { box-shadow: none; }
.smw-g-plate .smw-b-discount { --b-dot: #2563EB; } .smw-g-plate :is(.smw-b-student, .smw-b-promotion, .smw-b-plus) { --b-dot: #6C3FC5; }
.smw-g-plate :is(.smw-b-offer, .smw-b-deal) { --b-dot: #EA6C14; } .smw-g-plate .smw-b-group { --b-dot: #0D9464; }
.smw-g-plate.smw-compact .smw-item { --plate-h: 44%; --plate-pct: 44; }
.smw-g-plate.smw-compact .smw-o-txt { display: none; }
.smw-g-plate.smw-compact .smw-o-ico { display: inline; font-size: 22px; }
.smw-g-plate.smw-compact .smw-order { width: 36px; height: 36px; padding: 0; }
.smw-g-plate.smw-compact .smw-order.smw-done { font-size: 0; }
.smw-g-plate.smw-compact .smw-order.smw-done::before { content: '✓'; font: 800 17px/1 var(--smw-display); }

/* 3 · smoked glass: dark tinted glass and white words, for the evening */
.smw-g-smoke { --g-chip: rgba(16, 10, 30, .44); --g-chip-line: rgba(255, 255, 255, .16); --g-was: rgba(255, 255, 255, .66); --g-now: #86EFAC;
  --g-btn: rgba(16, 10, 30, .5); --g-btn-line: rgba(255, 255, 255, .2); --g-hi: inset 0 1px 0 rgba(255, 255, 255, .2); --g-badge: rgba(16, 10, 30, .42); }
.smw-g-smoke .smw-order { padding: 0 13px 0 11px; }
/* smoked and purple glass on big screens: the price on its own line, the "+ Order" pill the width of the card */
:is(.smw-g-smoke, .smw-g-brand):not(.smw-compact) .smw-item:not(.smw-herocard) { grid-template-rows: 1fr auto auto auto; grid-template-areas: "top top" "name name" "price price" "order order"; }
:is(.smw-g-smoke, .smw-g-brand):not(.smw-compact) .smw-order { width: 100%; height: 40px; margin-top: 8px; }
.smw-g-smoke.smw-compact .smw-o-txt { display: none; }
.smw-g-smoke.smw-compact .smw-order { width: 40px; padding: 0; }
.smw-g-smoke.smw-compact .smw-order.smw-done { font-size: 0; }
.smw-g-smoke.smw-compact .smw-order.smw-done::before { content: '✓'; font: 800 18px/1 var(--smw-display); }

/* 4 · purple glass: the Order button in StudentMenu purple glass; the price on light glass so it reads at a glance */
.smw-g-brand { --g-chip: rgba(255, 255, 255, .84); --g-chip-line: rgba(255, 255, 255, .95); --g-was: #7d7494; --g-now: #15803D;
  --g-btn: rgba(108, 63, 197, .6); --g-btn-line: rgba(255, 255, 255, .38); --g-hi: inset 0 1px 0 rgba(255, 255, 255, .45); --g-badge: rgba(108, 63, 197, .42); }
.smw-g-brand .smw-prices .smw-price { color: #1d1530; }
.smw-g-brand .smw-anchor .smw-logo, .smw-g-brand .smw-herocard .smw-logo { border-color: rgba(255, 255, 255, .95); }
.smw-g-brand .smw-close { background: rgba(108, 63, 197, .55); }
.smw-g-brand.smw-compact .smw-o-txt { display: none; }
.smw-g-brand.smw-compact .smw-order { width: 40px; padding: 0; }
.smw-g-brand.smw-compact .smw-order.smw-done { font-size: 0; }
.smw-g-brand.smw-compact .smw-order.smw-done::before { content: '✓'; font: 800 18px/1 var(--smw-display); }

/* 5 · liquid glass: very clear glass with a bright rim, the price and + joined in one capsule */
.smw-g-liquid { --g-blur: blur(10px) saturate(200%) brightness(1.06); --g-was: rgba(255, 255, 255, .78); --g-now: #B6F7D2;
  --g-hi: inset 0 1px 1px rgba(255, 255, 255, .45), inset 0 -10px 18px -12px rgba(255, 255, 255, .35);
  --g-rim: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .14) 38%, rgba(255, 255, 255, .05) 62%, rgba(255, 255, 255, .55));
  --g-fill: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07)); --g-badge: rgba(255, 255, 255, .12); }
.smw-g-liquid :is(.smw-prices, .smw-order, .smw-badge, .smw-close) { border: 1px solid transparent; background: var(--g-fill) padding-box, var(--g-rim) border-box; box-shadow: var(--g-hi), var(--g-drop); }
.smw-g-liquid .smw-item { column-gap: 0; }
.smw-g-liquid .smw-prices { justify-self: stretch; border-right: 0; border-radius: 999px 0 0 999px; padding-right: 8px; }
.smw-g-liquid .smw-order { width: 46px; padding: 0 4px 0 0; border-left: 0; border-radius: 0 999px 999px 0; position: relative; }
.smw-g-liquid .smw-order::after { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; background: rgba(255, 255, 255, .45); }
.smw-g-liquid .smw-o-txt { display: none; }
.smw-g-liquid .smw-o-ico { font-size: 23px; }
.smw-g-liquid .smw-order.smw-done { font-size: 0; }
.smw-g-liquid .smw-order.smw-done::before { content: '✓'; font: 800 18px/1 var(--smw-display); }
.smw-g-liquid :is(.smw-anchor-info, .smw-hc-foot) { padding: 12px 14px 13px; border: 1px solid transparent; border-radius: 20px; background: var(--g-fill) padding-box, var(--g-rim) border-box; box-shadow: var(--g-hi), var(--g-drop); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); }
.smw-g-liquid .smw-anchor-info { margin: 0 10px 10px; }
.smw-g-liquid .smw-anchor .smw-name { font-size: 17px; }
.smw-g-liquid .smw-anchor .smw-logo { margin: 0 0 10px 13px; }
.smw-g-liquid .smw-herocard { padding: 0 8px 8px; }
.smw-g-liquid .smw-hc-foot { width: 100%; padding: 10px 11px 11px; border-radius: 16px; }
.smw-g-liquid.smw-compact .smw-order { width: 42px; }

/* ── 'ticket': each item a ticket with "Save £x"; the hero says "Up to 20% off" ────────────────────────────────── */
.smw-v-ticket { --smw-anchor-w: 240px; --smw-card-w: 190px; --smw-gap: 14px; }
.smw-v-ticket .smw-window { gap: 14px; padding: 14px 0 18px; border-bottom: 0; }
.smw-v-ticket .smw-anchor { display: flex; flex-direction: column; min-height: 0; padding: 18px; overflow: hidden; border-radius: 22px;
  background: linear-gradient(160deg, #7b4be0 0%, #5a2fb0 55%, #3b1d7a 100%); box-shadow: 0 18px 34px -20px rgba(70, 30, 150, .75); }
.smw-v-ticket .smw-hero { opacity: .32; mix-blend-mode: luminosity; }
.smw-v-ticket .smw-hero-none { display: none; }
.smw-v-ticket .smw-anchor::after { background: linear-gradient(180deg, rgba(40, 15, 90, .1) 0%, rgba(30, 10, 70, .72) 100%); }
.smw-v-ticket .smw-logo { position: static; flex: none; width: 50px; height: 50px; border-width: 2px; }
.smw-v-ticket .smw-logo-text { font-size: 16px; }
.smw-v-ticket .smw-deal { display: block; margin-top: 16px; }
.smw-v-ticket .smw-deal b { display: block; font: 800 30px/1.02 var(--smw-display); letter-spacing: -.02em; }
.smw-v-ticket .smw-deal span { display: inline-block; margin-top: 9px; padding: 5px 9px; border-radius: 999px; background: var(--smw-orange); font: 800 11.5px/1 var(--smw-body); white-space: nowrap; }
.smw-v-ticket .smw-anchor-info { position: static; margin-top: auto; padding: 14px 0 0; }
.smw-v-ticket .smw-name { font-size: 17px; }
.smw-v-ticket .smw-cta { display: inline-flex; margin-top: 12px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #4b23a0; font: 800 12.5px/1 var(--smw-body); }
.smw-v-ticket .smw-track { padding: 4px 18px 14px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 30px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 30px), transparent 100%); }
.smw-v-ticket .smw-prev { left: 14px; }
/* the ticket: two notches level with the dashed tear line under the photo */
.smw-v-ticket .smw-item { --smw-notch: calc(8px + (var(--smw-card-w) - 16px) * .75 + 10px); padding: 8px 8px 12px; border: 0; border-radius: 18px; background: var(--smw-card); backdrop-filter: none; -webkit-backdrop-filter: none;
  -webkit-mask: radial-gradient(circle 10px at 0 var(--smw-notch), #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 10px at 100% var(--smw-notch), #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle 10px at 0 var(--smw-notch), #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 10px at 100% var(--smw-notch), #0000 97%, #000) 100% 0 / 51% 100% no-repeat; }
.smw-v-ticket .smw-item.smw-skeleton { -webkit-mask: none; mask: none; height: 300px; }
.smw-v-ticket .smw-img { border-radius: 12px; }
.smw-v-ticket .smw-save { display: block; position: absolute; top: 15px; right: 14px; z-index: 2; padding: 6px 9px; border-radius: 9px; background: var(--smw-orange); color: #fff;
  font: 800 11px/1 var(--smw-display); letter-spacing: .03em; text-transform: uppercase; transform: rotate(3deg); box-shadow: 0 6px 12px -6px rgba(190, 80, 0, .8); }
.smw-v-ticket .smw-item-name { margin: 10px 4px 0; padding-top: 11px; border-top: 2px dashed var(--smw-line); min-height: calc(2.56em + 13px); }
.smw-v-ticket .smw-prices { margin: 4px 4px 10px; }
.smw-v-ticket .smw-now { font-size: 19px; }
.smw-v-ticket .smw-price { font-size: 18px; }
.smw-v-ticket .smw-order { color: var(--smw-dark-btn-ink); background: var(--smw-dark-btn); box-shadow: 0 8px 16px -10px rgba(29, 21, 48, .8); }
.smw-v-ticket .smw-order.smw-done { color: #fff; background: var(--smw-green); }
.smw-v-ticket .smw-close { left: calc(var(--smw-anchor-w) - 44px); top: 26px; }
.smw-v-ticket.smw-compact { --smw-card-w: 158px; --smw-gap: 12px; }
.smw-v-ticket.smw-compact .smw-window { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 0 14px; }
.smw-v-ticket.smw-compact .smw-anchor { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 13px 14px 14px; border-radius: 18px; }
.smw-v-ticket.smw-compact .smw-logo { width: 44px; height: 44px; }
.smw-v-ticket.smw-compact .smw-logo-text { font-size: 14px; }
.smw-v-ticket.smw-compact .smw-anchor-info { order: 1; flex: 1; min-width: 0; margin: 0; padding: 0; }
.smw-v-ticket.smw-compact .smw-name { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smw-v-ticket.smw-compact .smw-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smw-v-ticket.smw-compact .smw-badges, .smw-v-ticket.smw-compact .smw-cta { display: none; }
.smw-v-ticket.smw-compact .smw-deal { order: 2; flex: 0 0 100%; display: flex; align-items: center; gap: 10px; margin: 0; }
.smw-v-ticket.smw-compact .smw-deal:empty { display: none; }
.smw-v-ticket.smw-compact .smw-deal b { font-size: 21px; white-space: nowrap; }
.smw-v-ticket.smw-compact .smw-deal span { margin: 0; padding: 5px 8px; font-size: 11px; }
.smw-v-ticket.smw-compact .smw-closable .smw-anchor { padding-right: 52px; }
.smw-v-ticket.smw-compact .smw-close { left: auto; right: 10px; top: 24px; }
.smw-v-ticket.smw-compact .smw-save { top: 13px; right: 12px; }
.smw-v-ticket.smw-compact .smw-now { font-size: 17px; }

@media (prefers-reduced-motion: reduce) {
  .smw-opening, .smw-opening .smw-rail, .smw-flash :is(.smw-anchor, .smw-bar-logo)::before, .smw-skeleton::after { animation: none !important; }
  .smw-skeleton::after { opacity: 0; }
  .smw-img img, .smw-v-film .smw-item, .smw-v-film .smw-anchor { transition: none; }
  .smw-tap:hover .smw-img img, .smw-v-film .smw-item:hover, .smw-v-film .smw-anchor:hover { transform: none; }
}

/* ══ v1.3 · 'film' with hero: 'bar' (the default) ═══════════════════════════════════════════════════════════════════
   The shop sits in a slim bar above its strip: its ringed circle (the stories' ring), name ›, "4 min walk · cuisine"
   and, on big screens, one deal chip — all one link. The strip below has the dishes only. Inside every card, the words
   and buttons keep a 12px margin (10px on phones): the save badge top-left, the name, then the price and Order side by
   side on one line of the same height. ════════════════════════════════════════════════════════════════════════════ */
.smw.smw-barmode { --smw-card-w: 204px; --smw-gap: 14px; --bar-pad: 12px; --bar-ctl: 40px; }
.smw.smw-barmode.smw-compact { --smw-card-w: 150px; --smw-gap: 10px; --bar-pad: 10px; --bar-ctl: 38px; }
.smw.smw-barmode .smw-head { margin-bottom: 14px; }
.smw.smw-barmode .smw-window { display: block; padding: 0; margin: 0 0 20px; border: 0; }
.smw.smw-barmode .smw-window.smw-closable { padding-top: 0; }
.smw.smw-barmode.smw-compact .smw-window { margin-bottom: 14px; }
.smw.smw-barmode .smw-window:last-child { margin-bottom: 6px; }
.smw.smw-barmode :is(.smw-anchor, .smw-herocard) { display: none; }

/* the bar */
.smw-shopbar { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 0 12px; }
.smw-bar-link { position: relative; flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; margin: -6px -10px -6px -6px; padding: 6px 10px 6px 6px;
  border-radius: 18px; color: inherit; text-decoration: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease; }
.smw-bar-link:hover { background: rgba(108, 63, 197, .06); }
.smw-bar-link:active { background: rgba(108, 63, 197, .1); }
.smw-bar-link:focus-visible { outline: 3px solid var(--smw-orange); outline-offset: 0; }
.smw-bar-logo { flex: none; width: 44px; height: 44px; padding: 2px; border-radius: 50%;
  background: linear-gradient(165deg, #7c4ddb, #b45fd2 50%, #f08a3c); box-shadow: 0 6px 14px -8px rgba(60, 25, 110, .55); }
.smw-bar-pic { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; border: 2px solid var(--smw-ring-gap); background: var(--smw-chip-purple); }
.smw-bar-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.smw-bar-ini { color: var(--smw-chip-purple-ink); font: 800 14px/1 var(--smw-display); letter-spacing: .02em; }
.smw-bar-text { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.smw-bar-title { display: flex; align-items: center; gap: 2px; min-width: 0; color: var(--smw-ink); font: 800 16px/1.2 var(--smw-display); letter-spacing: -.01em; }
.smw-bar-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smw-bar-chev { flex: none; width: 16px; height: 16px; color: var(--smw-ink-faint); transition: transform .15s ease, color .15s ease; }
.smw-bar-link:hover .smw-bar-chev { transform: translateX(2px); color: var(--smw-purple); }
.smw-bar-meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--smw-ink-soft); font: 600 12.5px/1.25 var(--smw-body); }
.smw-bar-deal { flex: none; margin-left: 6px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; white-space: nowrap;
  font: 800 11.5px/1 var(--smw-body); color: #A34403; background: rgba(255, 138, 61, .12); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .24); }
.smw-bar-deal::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #FF7A1F; }
.smw-bar-deal:empty, .smw-compact .smw-bar-deal { display: none; }   /* on phones the dishes' own badges carry the deal */
.smw.smw-barmode .smw-shopbar .smw-close { position: static; flex: none; margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--smw-ink-soft); background: rgba(255, 255, 255, .72); border: 1px solid rgba(108, 63, 197, .14); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(40, 20, 80, .4);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
.smw.smw-barmode .smw-shopbar .smw-close:hover { color: var(--smw-ink); background: #fff; }
.smw.smw-barmode .smw-shopbar .smw-close:focus-visible { outline: 3px solid var(--smw-orange); outline-offset: 2px; }
.smw-close-svg { width: 16px; height: 16px; display: block; }

/* the strip: on big screens it starts level with the bar; on phones it runs to the screen's edges */
.smw.smw-barmode .smw-track { padding: 4px 30px 26px 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2px, #000 calc(100% - 30px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 2px, #000 calc(100% - 30px), transparent 100%); }
.smw.smw-barmode.smw-compact .smw-track { padding: 2px max(12px, var(--smw-bleed)) 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 max(2px, calc(var(--smw-bleed) - 6px)), #000 calc(100% - max(12px, var(--smw-bleed))), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 max(2px, calc(var(--smw-bleed) - 6px)), #000 calc(100% - max(12px, var(--smw-bleed))), transparent 100%); }
.smw.smw-barmode .smw-arrow { top: calc(50% - 27px); }
.smw.smw-barmode .smw-prev { left: -10px; }
.smw.smw-barmode .smw-next { right: -10px; }

/* a dish: name, then the price and Order on one line, the same height, inside the card's margin */
.smw.smw-barmode .smw-track .smw-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto auto;
  grid-template-areas: "top top" "name name" "price order"; align-items: end; column-gap: 8px; row-gap: 0; padding: var(--bar-pad);
  aspect-ratio: 3 / 4; overflow: hidden; border: 0; border-radius: 20px; background: #241a38; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(20, 10, 40, .14), 0 14px 22px -14px rgba(20, 10, 40, .62); }
.smw.smw-barmode.smw-compact .smw-track .smw-item { border-radius: 18px; }
.smw.smw-barmode .smw-track .smw-item.smw-skeleton { display: block; padding: 0; height: auto; background: var(--m-skel, rgba(108, 63, 197, .1)); box-shadow: inset 0 0 0 1px var(--smw-glass-line); }
.smw.smw-barmode .smw-item .smw-img::after { background: linear-gradient(180deg, rgba(10, 6, 20, 0) 36%, rgba(10, 6, 20, .42) 58%, rgba(10, 6, 20, .9) 100%); }
.smw.smw-barmode .smw-item .smw-item-name { grid-area: name; margin: 0 0 9px; min-height: 0; color: #fff; font: 800 14.5px/1.22 var(--smw-display); letter-spacing: -.005em;
  -webkit-line-clamp: 2; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.smw.smw-barmode.smw-compact .smw-item .smw-item-name { font-size: 13.5px; margin-bottom: 8px; }
.smw.smw-barmode .smw-item .smw-prices { grid-area: price; justify-self: start; align-self: end; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: flex-start;
  gap: 2px; height: var(--bar-ctl); min-height: 0; max-width: 100%; margin: 0; padding: 0 10px; border-radius: 13px; overflow: hidden; }
.smw.smw-barmode .smw-item :is(.smw-was, .smw-now, .smw-price) { white-space: nowrap; }
.smw.smw-barmode .smw-item .smw-was { font-size: 10.5px; line-height: 1; }
.smw.smw-barmode .smw-item :is(.smw-now, .smw-price) { font: 800 15px/1 var(--smw-display); }
.smw.smw-barmode.smw-compact .smw-item :is(.smw-now, .smw-price) { font-size: 14px; }
.smw.smw-barmode .smw-item .smw-order { grid-area: order; align-self: end; justify-self: end; width: auto; height: var(--bar-ctl); min-width: var(--bar-ctl); min-height: 0; margin: 0;
  padding: 0 14px 0 11px; gap: 5px; border-radius: 999px; font: 800 13px/1 var(--smw-display); }
.smw.smw-barmode .smw-item .smw-o-ico { display: grid; place-items: center; margin: 0; font-size: 0; }
.smw.smw-barmode .smw-item .smw-o-svg { display: block; width: 17px; height: 17px; }
/* R206: "Menu ›" (a dish that can't be ordered from here) drew two arrows: v1.2's text arrow and the bar look's icon */
.smw.smw-barmode .smw-order.smw-view::before { content: none; }
.smw.smw-barmode.smw-compact .smw-item .smw-order { width: var(--bar-ctl); padding: 0; }
.smw.smw-barmode.smw-compact .smw-item .smw-o-txt { display: none; }
.smw.smw-barmode.smw-compact .smw-item .smw-o-svg { width: 19px; height: 19px; }
.smw.smw-barmode .smw-item .smw-order.smw-done { font-size: 13px; }
.smw.smw-barmode .smw-item .smw-order.smw-done::before { content: none; }
.smw.smw-barmode .smw-item .smw-save { top: var(--bar-pad); left: var(--bar-pad); }
.smw.smw-barmode .smw-item .smw-save::before { display: block; height: 24px; padding: 0 8px; font: 800 11.5px/24px var(--smw-display); border-radius: 999px; }
.smw.smw-barmode.smw-compact .smw-item .smw-save::before { height: 22px; padding: 0 7px; font-size: 11px; line-height: 22px; }
.smw.smw-barmode .smw-item .smw-initial { font-size: 54px; transform: translateY(-30px); }
/* the photo's own shadow inside a dark card would show as a seam */
.smw.smw-barmode .smw-item .smw-img { box-shadow: none; }

/* dark pages: the bar's words, circle and × follow the theme */
:root[data-theme="dark"] .smw-barmode, html.dark .smw-barmode, body.dark .smw-barmode, body[data-theme="dark"] .smw-barmode { --smw-bar-hover: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .smw-bar-deal, html.dark .smw-bar-deal, body.dark .smw-bar-deal, body[data-theme="dark"] .smw-bar-deal { color: #FFB27A; background: rgba(255, 138, 61, .15); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .26); }
:root[data-theme="dark"] .smw-bar-link:hover, html.dark .smw-bar-link:hover, body.dark .smw-bar-link:hover, body[data-theme="dark"] .smw-bar-link:hover { background: rgba(255, 255, 255, .05); }
:root[data-theme="dark"] .smw.smw-barmode .smw-shopbar .smw-close, html.dark .smw.smw-barmode .smw-shopbar .smw-close, body.dark .smw.smw-barmode .smw-shopbar .smw-close, body[data-theme="dark"] .smw.smw-barmode .smw-shopbar .smw-close {
  color: #ddd5f2; background: rgba(46, 36, 72, .72); border-color: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 14px -8px rgba(0, 0, 0, .6); }
@media (prefers-reduced-motion: reduce) {
  .smw-bar-chev, .smw-bar-link { transition: none; }
}
