/* v2.9.25.621 — SIZE TILES on product cards (Sohan 11/4 "ship the size tiles on web and kiosk": "an 8th shud feature
   product pic and price as well as oz pic and price and clickable pic to go to page of oz"). Markup comes from
   SR.renderCard (shared-v3.js): .sr-card-sizes > .sr-card-tiles > a/span.sr-card-tile. Menu grid + hot rail turn the
   card body into display:contents, so the block is a direct flex child there and takes order 5 (same as the Add
   button, earlier in the DOM → sits just above it). Greens + neutrals only. */
.sr-card .sr-card-sizes { order: 5; width: 100%; margin: 8px 0 2px; padding-top: 8px; border-top: 1px solid rgba(127, 127, 127, .28); font-family: Poppins, system-ui, sans-serif; }
.sr-card .sr-card-sizes-l { font: 700 10.5px/1.2 Poppins, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; opacity: .72; margin: 0 0 6px; }
.sr-card .sr-card-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.sr-card .sr-card-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 5px 3px 6px; border: 1.5px solid rgba(126, 217, 87, .38); border-radius: 10px; background: rgba(127, 127, 127, .07); color: inherit; text-decoration: none; position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* .622 — link styles from the page leaked underlines onto the labels and prices (vision QA 11/4) */
html:root body .sr-card a.sr-card-tile, html:root body .sr-card a.sr-card-tile *, html:root body .sr-card .sr-card-tile .sr-ct-sz, html:root body .sr-card .sr-card-tile .sr-ct-pr b { text-decoration: none !important; }
html:root body .sr-card .sr-card-tile .sr-ct-pr s { text-decoration: line-through !important; }
/* .622 — three tiles on a narrow card: stack the struck price over the sale price so nothing overflows */
.sr-card .sr-card-tiles-3 .sr-ct-pr s { display: block; margin: 0; }
.sr-card .sr-card-tiles-3 .sr-ct-pr { line-height: 1.1; }
/* .623 — on 3-tile rows the pill is wider than a tile: sit it inside, under the price */
.sr-card .sr-card-tiles-3 .sr-ct-pill, .sr-card .sr-card-tiles-3 .sr-ct-pill { position: static; transform: none; margin-top: 3px; font-size: 8px; padding: 2px 5px; }
.sr-card .sr-card-tile img { width: 100%; max-width: 72px; aspect-ratio: 1 / 1; height: auto; object-fit: contain; border-radius: 7px; display: block; }
.sr-card .sr-card-tile-big { border-color: #209F48; background: rgba(126, 217, 87, .14); box-shadow: inset 0 0 0 1px rgba(126, 217, 87, .35); }
.sr-card a.sr-card-tile:hover, .sr-card a.sr-card-tile:focus-visible { box-shadow: 0 0 0 2px #7ED957; outline: 0; }
.sr-card .sr-ct-sz { font: 800 12px/1.2 Poppins, system-ui, sans-serif; white-space: nowrap; }
.sr-card .sr-ct-pr { font: 600 11.5px/1.2 Poppins, system-ui, sans-serif; white-space: nowrap; }
.sr-card .sr-ct-pr s { opacity: .55; font-weight: 500; margin-right: 3px; }
.sr-card .sr-ct-pr b { font-weight: 800; }
.sr-card .sr-ct-pill { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #7ED957; color: #08200f; font: 800 9px/1 Poppins, system-ui, sans-serif; padding: 3px 6px; border-radius: 999px; }
/* on tiled cards the Add button sits in its own row under the tiles, full width */
.sr-card .sr-card-price-row-btn { justify-content: stretch; margin-top: 6px; }
.sr-card .sr-card-price-row-btn > * { flex: 1 1 auto; }
/* menu grid + hot rail (rrh layout): join the flex column just above the Add button */
html:root body #sr-menu-grid#sr-menu-grid#sr-menu-grid#sr-menu-grid .sr-card .sr-card-sizes,
html:root body #sr-ls-rail#sr-ls-rail#sr-ls-rail#sr-ls-rail .sr-card .sr-card-sizes { order: 5 !important; flex: 0 0 auto !important; border-top-color: rgba(255, 255, 255, .14) !important; }
html:root body #sr-menu-grid#sr-menu-grid#sr-menu-grid#sr-menu-grid .sr-card .sr-card-tile,
html:root body #sr-ls-rail#sr-ls-rail#sr-ls-rail#sr-ls-rail .sr-card .sr-card-tile { color: #fff !important; }
/* kiosk: bigger touch targets */
#sr-kiosk-app .sr-card .sr-card-tile { padding: 7px 4px 8px; min-height: 44px; }
#sr-kiosk-app .sr-card .sr-card-tile img { max-width: 88px; }
#sr-kiosk-app .sr-card .sr-ct-sz { font-size: 14px; }
#sr-kiosk-app .sr-card .sr-ct-pr { font-size: 13px; }
@media (max-width: 480px) {
  .sr-card .sr-card-tiles { gap: 4px; }
  .sr-card .sr-card-tile { padding: 4px 2px 5px; }
  .sr-card .sr-card-tile img { max-width: 54px; }
  .sr-card .sr-ct-sz { font-size: 11px; }
  .sr-card .sr-ct-pr { font-size: 10.5px; white-space: normal; text-align: center; }
  .sr-card .sr-ct-pr s { display: block; margin: 0; }
  .sr-card .sr-ct-pill { position: static; transform: none; margin-top: 2px; font-size: 7.5px; padding: 2px 4px; }
  .sr-card .sr-card-tiles-3 .sr-card-tile img { max-width: 42px; }
  .sr-card .sr-card-tiles-3 .sr-ct-sz { font-size: 10px; }
  .sr-card .sr-card-tiles-3 .sr-ct-pr { font-size: 9.5px; }
  .sr-card .sr-card-tiles-3 .sr-ct-pill { font-size: 7px; padding: 2px 3px; white-space: normal; line-height: 1.1; max-width: 100%; text-align: center; letter-spacing: 0; }
}
