/* SHAAD Zamówienia Plus - menu page layout fixes, loaded right after the theme's menu.css.
   1. Phones: the menu stays a grid with 2 dishes per row (before, phones under 400 px wide - most iPhones and
      Androids - showed one big dish per row).
   2. Categories: one swipeable row that stays at the top while scrolling (the theme's own "sticky" rule never
      worked because of a stray "</style>" inside menu.css).
   3. The theme restyles every <button>; the "+" and category buttons keep their own design. */

/* sticky category bar (re-declared: the theme's copy is skipped by browsers) */
.cat-bar{position:sticky;top:68px;z-index:100;background:var(--bg,#0a0806);padding-top:1rem;padding-bottom:1rem;transition:box-shadow .2s}
.cat-bar.stuck{box-shadow:0 2px 20px rgba(0,0,0,.4)}
@media(max-width:768px){.cat-bar{top:58px}}
.menu-section{scroll-margin-top:140px}

/* ── Phones: keep the menu as a grid (2 dishes per row) ───────────────────────
   Before, phones narrower than 400px (most iPhones and Androids) showed one big dish per row. */
@media(max-width:600px){
  .menu-section{padding:0 4% 64px;}
  .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;}
  .card-img-wrap{height:140px;}
  .card-body{padding:.85rem .9rem .95rem;}
  .card-name{font-size:.86rem;}
  .card-desc{font-size:.7rem;line-height:1.5;margin-bottom:.6rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .card-price{font-size:1rem;}
  .add-btn{width:34px;height:34px;}
  .dish-card{display:flex;flex-direction:column;}
  .card-body{flex:1;display:flex;flex-direction:column;}
  .card-foot{margin-top:auto;}
}
@media(max-width:400px){
  .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;}
  .card-img-wrap{height:118px;}
  .card-body{padding:.7rem .7rem .8rem;}
  .card-name{font-size:.8rem;}
  .card-desc{font-size:.66rem;}
  .card-price{font-size:.92rem;}
  .card-meta-tag{font-size:.52rem;padding:.1rem .4rem;}
  .add-btn{width:32px;height:32px;border-radius:8px;}
}

/* ── Phones: show every category at once as a wrapped grid, centred — the layout customers find
      convenient (all tap targets visible, no sideways swiping to hunt for a category).
      Not sticky on phones: a 4–5 row grid pinned to the top would cover half the screen while
      scrolling the dishes, so it sits at the top of the menu and scrolls away like the rest. ── */
@media(max-width:768px){
  .cat-bar{position:static;flex-wrap:wrap;justify-content:center;overflow-x:visible;gap:.45rem;padding:.9rem 4% 1.4rem;}
  .cat-btn{flex:0 0 auto;padding:.5rem .85rem;font-size:.66rem;letter-spacing:.1em;}
}

/* ── The theme (Hello Elementor + site kit) restyles every <button>: padding, border, font size, spacing.
      Keep the menu's own buttons exactly as designed. ── */
:root .add-btn,:root .cat-btn{border-radius:9px;line-height:1;text-decoration:none;white-space:nowrap;min-height:0;}
:root .add-btn{color:#fff;padding:0;border:0;font-family:inherit;font-size:1.3rem;font-weight:400;letter-spacing:0;text-transform:none;}
:root .cat-btn{color:var(--mu);background-color:var(--surf);border:1px solid var(--bd);border-radius:8px;padding:.55rem 1.1rem;font-family:'Jost',sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;}
:root .cat-btn.on,:root .cat-btn:hover{border-color:transparent;color:#fff;}
:root .add-btn.off{color:var(--mu);}
:root .cat-btn:not(.on):not(:hover):focus{color:var(--mu);}
@media(max-width:768px){:root .cat-btn{padding:.5rem .85rem;font-size:.66rem;letter-spacing:.1em;}}
@media(max-width:400px){:root .add-btn{border-radius:8px;}}

/* -- menu 2 (1.15.0): category headings, search, dishes without a photo. Colours follow the page (var(--...)). -- */
.menu-cat-h{grid-column:1/-1;margin:1.6rem 0 0;font-family:inherit;font-size:1.25rem;font-weight:600;line-height:1.2;color:var(--cr,#f5e6c8);scroll-margin-top:150px}
.menu-cat-h:first-child{margin-top:0}
.menu-none{grid-column:1/-1;padding:2rem 0;color:var(--mu,#a2906a);font-size:.95rem}
.menu-search{padding:1rem 5% 0}
.menu-search-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.menu-search input{width:100%;max-width:520px;min-height:48px;padding:0 14px;border-radius:10px;border:1px solid var(--bd,rgba(212,175,55,.2));background:var(--surf,#141008);color:var(--cr,#f5e6c8);font:400 16px/1.2 inherit;outline:none}
.menu-search input:focus{border-color:var(--or,#ff6a00)}
.card-img-wrap.no-img{background:var(--surf2,#1c1510)}
