/*
  The QR menu page (menu.html). Colours, card style and wording follow Hila's
  printed A4 sandwich menu; sizes are larger so it reads on a phone.
*/
:root{
  --paper:#FBF0CC; --green:#174F48; --deep:#0F3B36; --card:#DAEADF;
  --orange:#C9612E; --rust:#A2461A; --ink:#1F2B28; --soft:#3E3D35; --pill:#FFF7E2;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Heebo',system-ui,sans-serif;font-size:1.0625rem;line-height:1.5}
img{display:block;max-width:100%}
h1,h2,h3,p,ul{margin:0}
ul{list-style:none;padding:0}
a{color:var(--green)}
a:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.en{font-family:'Playfair Display',serif;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--rust)}

/* The thin green frame of the printed sheet */
.sheet{max-width:1040px;margin:0 auto;padding:28px 16px 40px;display:flex;flex-direction:column;gap:36px}
@media(min-width:700px){
  .sheet{margin:16px auto;padding:40px 36px 44px;border:1.5px solid rgba(23,79,72,.55);border-radius:6px}
}

.top{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.symbol{width:72px;height:72px;object-fit:contain}
.wordmark{width:min(300px,78%);height:auto}
.rule{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:4px 12px;width:100%;margin-top:10px;font-size:1.125rem;font-weight:800;color:var(--green)}
.rule::before,.rule::after{content:"";flex:1;min-width:24px;height:1px;background:var(--orange);opacity:.6}
.rule .en{font-size:1rem}
.status{font-weight:500;color:var(--green);min-height:1.5em}

main{display:flex;flex-direction:column;gap:52px}
section{display:flex;flex-direction:column;gap:16px;scroll-margin-top:84px}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 16px}
h2{font-weight:900;font-size:1.875rem;line-height:1.15;color:var(--green)}
h2 .en{font-size:1rem;margin-inline-start:6px;white-space:nowrap}
.note{color:var(--soft)}

.sizes{display:flex;align-items:center;gap:10px;border:1.5px solid var(--orange);border-radius:999px;padding:6px 18px;background:var(--pill);font-weight:500;color:var(--soft)}
.sizes b{font-weight:900;font-size:1.375rem;color:var(--green)}
.sizes i{width:1px;height:20px;background:var(--orange);opacity:.6}

.cards{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:560px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:900px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

.card{background:var(--card);border-radius:12px;overflow:hidden;box-shadow:0 8px 18px -10px rgba(15,59,54,.45);display:flex;flex-direction:column}
.card img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#C9DBD0}
.card-body{padding:12px 16px 16px;display:flex;flex-direction:column;gap:4px}
.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.card h3{font-weight:800;font-size:1.1875rem;line-height:1.25;color:var(--green);text-align:start}
.en-name{font-family:'Playfair Display',serif;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.card p{color:var(--soft)}
.card.out img{opacity:.45}
.price{font-weight:900;font-size:1.375rem;color:var(--green)}
.fav{color:var(--rust);font-weight:700}
.season{color:var(--rust);font-weight:500}
.soldout{font-weight:700;color:var(--rust)}
abbr{font-size:1rem;font-weight:700;color:var(--green);border:1px solid var(--green);border-radius:3px;padding:0 5px;line-height:1.4;text-decoration:none}

/* "Perfect pair": the dark card that closes the sandwich grid */
.pair{background:var(--green);color:var(--paper);align-items:center;justify-content:center;text-align:center;gap:6px;padding:28px 18px;box-shadow:0 8px 18px -10px rgba(15,59,54,.6)}
.pair .en{color:#F2A774;letter-spacing:.3em;font-size:1rem}
.pair strong{font-weight:900;font-size:1.75rem;line-height:1.1}
.pair span{font-weight:500}
.pair hr{width:44px;height:1px;border:0;background:#F2A774;margin:6px 0}
.pair b{font-weight:900;font-size:3rem;line-height:1;color:#fff}
.pair b small{font-size:1.5rem;font-weight:700;margin-inline-start:3px}

.foot{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding-top:20px;border-top:1px solid rgba(23,79,72,.25);color:var(--soft)}
.legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;font-weight:500;color:var(--green)}
.legend li{display:flex;align-items:center;gap:6px}
.links{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 26px;border-radius:10px;background:var(--green);color:var(--paper);font-weight:700;font-size:1.125rem;text-decoration:none}
.btn:hover{background:var(--deep)}
.link{display:inline-flex;align-items:center;min-height:46px;font-weight:700;text-underline-offset:5px}

/* Category tabs: stay at the top while the menu scrolls */
.tabs{position:sticky;top:0;z-index:5;display:flex;gap:8px;overflow-x:auto;margin:-16px -16px;padding:10px 16px;background:var(--paper);border-bottom:1px solid rgba(23,79,72,.25);scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:6px 16px;border:1.5px solid var(--green);border-radius:999px;font-weight:700;text-decoration:none;white-space:nowrap}
.tabs a.on{background:var(--green);color:var(--paper)}
@media(min-width:700px){.tabs{margin-inline:-36px;padding-inline:36px}}

/* Items without a photo: a plain list on a mint panel */
.rows{background:var(--card);border-radius:12px;padding:4px 16px;box-shadow:0 8px 18px -10px rgba(15,59,54,.45)}
.row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-block:14px;border-bottom:1px solid rgba(23,79,72,.18)}
.row:last-child{border-bottom:0}
.row-txt{min-width:0;display:flex;flex-direction:column;gap:2px}
.row h3{font-weight:800;font-size:1.125rem;line-height:1.3;color:var(--green);display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.row .en-name{font-size:1.0625rem}
.he-name{font-weight:700;color:var(--green)}
.row p{color:var(--soft)}
.row .more{color:var(--rust);font-weight:500}
.row-price{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;color:var(--soft);font-weight:500;white-space:nowrap}
.row-price b{font-weight:900;font-size:1.25rem;color:var(--green)}
.row-price small{font-size:1rem}
.row.out .row-txt{opacity:.55}
@media(min-width:900px){.rows{columns:2;column-gap:40px;padding:8px 24px}.row{break-inside:avoid}.row:last-child{border-bottom:1px solid rgba(23,79,72,.18)}}
.rows:has(.row:only-child){columns:1}
