/* Preferito V6 */
/* ---------- Réglages V6 */
.v6set .panel{display:flex;flex-direction:column;gap:10px}
.v6link-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.v6link-row img{width:132px;height:132px;border-radius:16px;background:#fff;border:1px solid var(--line);padding:6px;flex:none}
.v6link-row > div{flex:1;min-width:220px;display:flex;flex-direction:column;gap:10px}
.v6grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.v6grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:var(--muted)}
.v6grid select,.v6grid input{height:46px}
.v6hrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.v6hrow > span{display:flex;flex-direction:column;font-weight:600;font-size:14px;min-width:0}
.v6hrow small{color:var(--muted);font-size:12px;font-weight:600}
.chipsel.sm button{height:34px;padding:0 10px;font-size:12.5px}
.v6days button{width:auto;min-width:46px;padding:0 10px}
.v6kiosk{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.v6kiosk .v6kn{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.v6kiosk input{height:40px;font-weight:700}
.v6kiosk small{color:var(--muted);font-size:12px}
.v6kiosk .btn{width:auto;height:40px;padding:0 14px;font-size:14px}
.v6kdot{width:10px;height:10px;border-radius:50%;background:#D8D0D5;flex:none}
.v6kdot.on{background:#2F9E5E;box-shadow:0 0 0 4px rgba(47,158,94,.15)}
.nsw{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:99px;background:#FBE3DF;color:#B4432F;font-size:11px;font-weight:800;vertical-align:1px}
button[disabled][title]{opacity:.55}
/* ---------- sound off banner, menu changed notice */
#v6mute{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:90;background:#B4432F;color:#fff;border-radius:18px;padding:14px 22px;display:flex;flex-direction:column;align-items:center;gap:2px;box-shadow:0 14px 30px rgba(180,67,47,.35);font-size:14px;text-align:center;animation:v6pulse 1.6s ease-in-out infinite;max-width:calc(100% - 32px)}
#v6mute b{font-size:18px}
@keyframes v6pulse{0%,100%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.03)}}
#v6menu{position:fixed;right:16px;top:16px;z-index:89;background:#5B2148;color:#fff;border-radius:99px;padding:10px 18px;font-weight:700;font-size:14px;box-shadow:0 10px 24px rgba(91,33,72,.3)}
/* ---------- booking page: full slots, and a real layout on laptops and tablets */
.slot.full{opacity:.5;text-decoration:line-through;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05}
.slot small{font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;text-decoration:none;color:#B4432F}
.v6full{display:flex;flex-direction:column;gap:4px;background:#FBEDEA;border-radius:14px;padding:14px 16px;font-size:14px}
.v6full b{color:#B4432F;font-size:15px}
.v6full a,.v6call a{color:var(--ink);font-weight:800}
.v6bl,.v6br{display:flex;flex-direction:column;gap:16px;min-width:0}
@media (min-width:880px){
  main.v6book{max-width:1040px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:28px;row-gap:16px;align-items:start;padding-left:24px;padding-right:24px}
  main.v6book > .track-top, main.v6book > div:not(.v6bl):not(.v6br){grid-column:1 / -1}
  main.v6book .v6br{position:sticky;top:16px}
  main.v6book .slotgrid{grid-template-columns:repeat(auto-fill,minmax(74px,1fr))}
  main.v6book .dayrow{overflow-x:auto}
}
@media (min-width:600px) and (max-width:879px){ main.v6book{max-width:640px} }
/* ---------- the bill: two tiles, a sheet, the pay button always visible */
.v6tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.v6tile{display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 12px;border-radius:16px;background:var(--card,#fff);border:1.5px solid var(--line);text-align:left}
.v6tile .ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#F3D3E2;color:#5B2148;font-size:16px;flex:none}
.v6tile .ic.gift{background:#FFF1D6}
.v6tile .tx{display:flex;flex-direction:column;min-width:0;flex:1}
.v6tile b{font-size:13.5px;line-height:1.2}
.v6tile small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v6tile .pl{font-size:20px;color:var(--muted);flex:none}
.v6tile.on{border-color:#2F7A4B;background:#F1F8F3}
.v6tile.on small,.v6tile.on .pl{color:#2F7A4B;font-weight:700}
.v6tile.on .ic{background:#DDEFE3;color:#2F7A4B}
.v6sheet{display:flex;flex-direction:column;gap:12px}
.v6sh-h{display:flex;align-items:center;gap:12px}
.v6sh-h .ic{width:44px;height:44px;border-radius:14px;background:#F3D3E2;color:#5B2148;display:grid;place-items:center;font-size:20px;flex:none}
.v6sh-h .ic.gift{background:#FFF1D6}
.v6sh-h b{font-family:var(--display);font-size:19px;display:block}
.v6sh-h small{font-size:13px;color:var(--muted)}
.v6tabs{display:flex;gap:8px}
.v6tabs button{flex:1;height:40px;border-radius:99px;font-weight:700;font-size:13.5px;background:var(--ground,#F6F4F1);color:var(--muted)}
.v6tabs button[aria-pressed="true"]{background:#5B2148;color:#fff}
#v6cardNo{font-family:var(--mono);font-size:19px;letter-spacing:.06em;height:54px}
.v6hint{margin:-4px 0 0;font-size:12.5px;color:var(--muted)}
.v6mycard{display:flex;flex-direction:column;gap:8px;background:#FBF3F7;border-radius:16px;padding:14px}
.v6mycard small{color:var(--muted)}
.v6paybar{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:5;display:flex;flex-direction:column;gap:8px;padding:10px 0 4px;background:linear-gradient(rgba(246,244,241,0),var(--ground,#F6F4F1) 28%)}
body.has-nav .v6paybar{bottom:calc(84px + env(safe-area-inset-bottom,0px))}
.v6paybar #billGo{margin:0;box-shadow:0 12px 26px rgba(23,20,26,.18)}
.v6ways{display:flex;justify-content:center;gap:8px}
.v6ways i{font-style:normal;font-size:11.5px;font-weight:700;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:7px;padding:3px 8px}
/* ---------- owner dashboard: phone = one column (as before); tablet = wider; laptop = 2 to 3 columns */
@media (min-width:700px) and (max-width:1023px){ .owner{max-width:720px} .owner .oh-tiles{grid-template-columns:repeat(3,1fr)} }
@media (min-width:1024px){
  main.phone.owner{max-width:1240px;display:block;column-count:2;column-gap:22px;padding-left:28px;padding-right:28px}
  main.owner > *{break-inside:avoid;-webkit-column-break-inside:avoid;margin:0 0 16px}
  main.owner > .track-top, main.owner > .ow-hello, main.owner > .ow-nav, main.owner > .ow-hero, main.owner > .ow-alerts, main.owner > span.eyebrow{column-span:all;-webkit-column-span:all}
  main.owner > .ow-nav{margin-left:0;margin-right:0;padding-left:0;padding-right:0;justify-content:flex-start}
  main.owner > .ow-hero{display:grid;grid-template-columns:1.1fr 1.6fr 1.2fr;align-items:end;gap:24px;padding:24px 28px}
  main.owner > .ow-hero .oh-tiles{grid-template-columns:repeat(3,1fr)}
  main.owner > h2.ow-h{margin-top:10px}
}
@media (min-width:1480px){ main.phone.owner{max-width:1500px;column-count:3} }
.v6jk{display:flex;flex-direction:column;gap:10px}
.v6jkr{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.v6jkr img{width:64px;height:36px;border-radius:8px;object-fit:cover;flex:none}
.v6jkr span{flex:1;min-width:0;display:flex;flex-direction:column}
.v6jkr b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v6jkr small{font-size:12px;color:var(--muted)}
.v6jkr .btn{width:auto;height:36px;padding:0 12px;font-size:13px}
.v6chk{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.v6no{font-size:12px;font-weight:800;color:#B4432F;background:#FBEDEA;border-radius:99px;padding:3px 10px}
.v6call{display:grid;grid-template-columns:auto auto 1fr;gap:4px 10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);font-size:13px}
.v6call small{grid-column:1 / -1;color:var(--muted)}
@media (min-width:1024px){ main.owner > h2.ow-h{break-after:avoid;-webkit-column-break-after:avoid} }
.v6cats{flex-wrap:wrap}
/* 6.0.1 · tab bars: on a laptop every tab is visible (they wrap onto a second line); with a mouse a thin scrollbar shows */
@media (min-width:760px){ .setnav, .ow-nav{flex-wrap:wrap;overflow-x:visible} }
@media (pointer:fine){ .setnav, .ow-nav{scrollbar-width:thin} .setnav::-webkit-scrollbar, .ow-nav::-webkit-scrollbar{height:6px} .setnav::-webkit-scrollbar-thumb, .ow-nav::-webkit-scrollbar-thumb{background:#CFC6CC;border-radius:6px} }
.v6set .ow-row{flex-wrap:nowrap;align-items:center;gap:14px} .v6set .ow-row > span{min-width:0}
/* ---------- 6.1 · Emporter: takeaway orders to type into the restaurant's till */
.kbody.v61{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.v61top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.v61top h2{margin:0;font-family:var(--display);font-size:26px}
.v61top p{margin:4px 0 0;color:var(--muted);font-size:14px;max-width:60ch}
.v61app{margin:0;background:#F1F8F3;color:#2F7A4B;border-radius:14px;padding:10px 14px;font-weight:700;font-size:13.5px}
.v61sec{margin:8px 0 0;font-size:15px;display:flex;gap:8px;align-items:center}
.v61sec b{background:var(--ink);color:#fff;border-radius:99px;padding:1px 9px;font-size:13px}
.v61grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.v61card{background:#fff;border:2px solid var(--line);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px}
.v61card.todo{border-color:#5B2148;box-shadow:0 10px 26px rgba(91,33,72,.16);animation:v61glow 1.4s ease-in-out infinite}
@keyframes v61glow{50%{box-shadow:0 10px 30px rgba(91,33,72,.34)}}
.v61card.done{opacity:.8}
.v61h{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.v61h > b{font-family:var(--mono);font-size:22px;margin-right:4px}
.v61h small{margin-left:auto;color:var(--muted);font-size:12.5px;font-weight:600}
.v61tag{font-size:11.5px;font-weight:800;border-radius:99px;padding:3px 9px;background:#F3EEF1;color:var(--ink)}
.v61tag.ok{background:#DDEFE3;color:#2F7A4B}
.v61tag.warn{background:#FFF1D6;color:#8A5A00}
.v61tag.rd{background:#5B2148;color:#fff}
.v61who{font-size:14px;font-weight:600}
.v61who a{color:var(--ink)}
.v61items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.v61items li{display:flex;gap:10px;padding:6px 0;border-top:1px dashed var(--line);font-size:15px}
.v61items i{font-style:normal;font-weight:800;color:#5B2148;min-width:22px}
.v61items small{display:block;color:#B4432F;font-weight:700;font-size:12.5px}
.v61note{margin:0;font-size:13.5px;color:var(--muted)}
.v61note.warn{color:#B4432F;font-weight:700}
.v61f{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.v61f > b{font-size:18px}
.v61go{width:auto;height:52px;padding:0 18px;font-size:15px;flex:1}
.v61by{font-size:13px;color:#2F7A4B;font-weight:700}
.v61small{height:42px;font-size:14px}
.ktabs b.v61hot{background:#B4432F;color:#fff}
#v61alert{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:91;background:#5B2148;color:#fff;border-radius:18px;padding:12px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;box-shadow:0 14px 30px rgba(91,33,72,.4);font-size:13.5px;animation:v61pulse 1.2s ease-in-out infinite;max-width:calc(100% - 32px);text-align:left}
#v61alert b{font-size:17px}
@keyframes v61pulse{50%{transform:scale(1.04)}}
body:has(#v6mute) #v61alert{bottom:calc(110px + env(safe-area-inset-bottom,0px))}
/* menu-only tables */
body.menu-only .plus, body.menu-only .stepper, body.menu-only #cartbar, body.menu-only #dadd, body.menu-only [data-xadd], body.menu-only .dqty{display:none!important}
#v61mo{position:fixed;left:16px;right:16px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:14;max-width:398px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 16px;border-radius:18px;background:var(--ink);color:#fff;font-size:13.5px;text-align:center;box-shadow:0 10px 24px rgba(23,20,26,.25)}
#v61mo b{font-size:15px}
body.has-nav #v61mo{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
