/* Readable service browsing and a quieter guide on small screens. */
@media screen and (max-width:760px) {
  /* Keep browse tools ahead of a potentially long list, in visual and DOM order. */
  .hero-flyer { display:flex; flex-direction:column; min-width:0; }
  .hero-flyer>.section-heading { order:0; }
  .hero-flyer>.menu-view-bar { order:1; margin:6px 0 12px; }
  .hero-flyer>.flyer-find-tools { order:2; margin:0 0 16px; }
  .hero-flyer>#product-grid { order:3; }
  .hero-flyer>.empty-results { order:4; }
  .hero-flyer>.catalogue-note { order:5; font-size:12px; line-height:1.5; }
  .hero-flyer .menu-view-actions { align-items:stretch; gap:10px; }
  .hero-flyer .view-button,
  .hero-flyer .print-menu,
  .hero-flyer .enlarge-flyer { min-height:44px; font-size:12px; padding:10px 12px; }
  .hero-flyer .flyer-find-tools>summary { min-height:44px; font-size:15px; }
  .hero-flyer .filter { min-height:44px; font-size:13px; }
  .hero-flyer .search-wrap { min-width:0; }
  .hero-flyer input,
  .hero-flyer select,
  .brief-dialog input,
  .brief-dialog textarea,
  .brief-dialog select { font-size:16px; }

  .idea-magazine .flyer-list-screen { grid-template-columns:minmax(0,1fr); }
  .idea-magazine .flyer-list-screen .flyer-item {
    display:grid; grid-template-columns:minmax(88px,28%) minmax(0,1fr);
    gap:10px 14px; padding:16px 14px;
  }
  .idea-magazine .flyer-list-screen .flyer-item-top {
    grid-column:1/-1; min-height:0; align-items:center;
  }
  .idea-magazine .flyer-list-screen .flyer-item-number,
  .idea-magazine .flyer-list-screen .flyer-item-category {
    font-size:10px; line-height:1.4; max-width:none;
  }
  .idea-magazine .flyer-list-screen .flyer-product-art {
    height:170px; min-width:0; align-self:start; padding:4px;
  }
  .idea-magazine .flyer-list-screen .flyer-pickup { display:none; }
  .idea-magazine .flyer-list-screen .flyer-item-copy { min-width:0; padding:0; }
  .idea-magazine .flyer-list-screen .flyer-food-label { font-size:12px; line-height:1.4; }
  .idea-magazine .flyer-list-screen .flyer-item h3 {
    font-size:22px; line-height:1.12; margin-bottom:9px; letter-spacing:-.04em;
  }
  .idea-magazine .flyer-list-screen .flyer-item-copy>ul {
    display:block; font-size:14px; line-height:1.5; margin-bottom:12px;
  }
  .idea-magazine .flyer-list-screen .flyer-item-bottom {
    display:flex; flex-direction:column; align-items:stretch; gap:12px;
  }
  .idea-magazine .flyer-list-screen .flyer-price { width:fit-content; max-width:100%; }
  .idea-magazine .flyer-list-screen .flyer-price strong,
  .idea-magazine .flyer-list-screen .flyer-price strong.flyer-price-range {
    font-size:24px; line-height:1.15; letter-spacing:-.055em; white-space:normal;
  }
  .idea-magazine .flyer-list-screen .flyer-price strong.flyer-quote { font-size:22px; }
  .idea-magazine .flyer-list-screen .flyer-price-prefix,
  .idea-magazine .flyer-list-screen .flyer-price small { font-size:11px; line-height:1.4; }
  .idea-magazine .flyer-list-screen .flyer-price-variants { gap:9px; }
  .idea-magazine .flyer-list-screen .flyer-item-actions {
    display:grid; grid-template-columns:1fr 1fr; width:100%; gap:8px;
  }
  .idea-magazine .flyer-list-screen .flyer-details,
  .idea-magazine .flyer-list-screen .flyer-add {
    display:flex; justify-content:center; align-items:center;
    min-height:44px; min-width:0; padding:10px 6px; font-size:13px;
  }
  .idea-magazine .flyer-list-screen .flyer-details { border:1px solid currentColor; }

  /* Keep the actual expressive cart in the phone header, clear of the buying path. */
  .site-header>.imc {
    position:relative; order:4; inset:auto; width:100%; display:flex;
    justify-content:flex-end; margin:0; z-index:45;
  }
  .site-header>.imc .imc-character-wrap { width:150px; }
  .site-header>.imc .imc-character { width:150px; min-height:68px; flex-direction:row-reverse; gap:8px; }
  .site-header>.imc .imc-cart { width:78px; height:68px; flex-shrink:0; }
  .site-header>.imc .imc-character-label { border:0; border-radius:0; box-shadow:none; padding:0; background:transparent; font-size:11px; max-width:62px; }
  .site-header>.imc .imc-count { top:0; right:0; min-width:21px; height:21px; font-size:10px; }
  .site-header>.imc .imc-panel {
    top:calc(100% + 8px); bottom:auto; right:0;
    width:310px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 210px);
  }
  .site-header>.imc .imc-close { min-width:44px; min-height:44px; }
  .site-header>.imc .imc-bubble { display:none !important; }
  .toast {
    bottom:max(12px,env(safe-area-inset-bottom)); padding:11px 14px;
    max-width:calc(100vw - 24px); font-size:13px; line-height:1.4;
  }
  .spread-hero .hero-copy>p { font-size:14px; line-height:1.5; }
  .spread-hero .hero-actions .primary { min-height:44px; font-size:12px; }
  .label-strip .product-shelf-links a { font-size:13px; }
}
@media screen and (max-width:360px) {
  .idea-magazine .flyer-list-screen .flyer-item { grid-template-columns:1fr; }
  .idea-magazine .flyer-list-screen .flyer-product-art { height:160px; }
}
