/* Zuri — takeaway ordering. Builds on order/order.css (colours, fonts, header, sheets) and lays the page out like the
   delivery apps guests already know: ADD on every dish, a cart bar, and a one-page checkout with bill details. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tw .brand{text-decoration:none;color:inherit}
.hd-link{color:var(--ivory);text-decoration:none;font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding:6px 4px;opacity:.85}
.hd-link:hover,.hd-link:focus-visible{opacity:1;text-decoration:underline}
.tw-contact{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:10px 0 18px}
.tw-contact .btn.ghost{margin-top:0}
body.tw-lock{overflow:hidden}

/* ---- hero and search ---- */
.tw-hero{padding:22px 0 6px}
.tw-hero h1{font-size:32px}
.tw-place{margin:4px 0 14px;color:var(--stone);font-size:13.5px}
.tw-facts-row{list-style:none;margin:0;padding:12px 0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px dashed var(--beige);border-bottom:1px dashed var(--beige)}
.tw-facts-row li{padding:0 10px;border-left:1px solid #e9e2d3;line-height:1.3}
.tw-facts-row li:first-child{padding-left:0;border-left:0}
.tw-facts-row strong{display:block;font-size:13.5px;font-weight:600;color:var(--green)}
.tw-facts-row span{font-size:11.5px;color:var(--stone)}
.tw-search{margin:14px 0 4px}
.tw-search input{width:100%;border:1px solid var(--beige);border-radius:12px;padding:12px 14px 12px 40px;font:inherit;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236b655b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m17 17-4.5-4.5'/%3E%3C/svg%3E") 13px 50% no-repeat;outline:none;color:var(--charcoal)}
.tw-search input:focus{border-color:var(--gold)}
.tw-results{font-size:13px;color:var(--stone);margin:14px 0 0}
.tw-count{font-family:var(--font);font-size:12px;color:var(--stone);font-weight:400}
.groups.hidden,.cats.hidden{display:none}

/* ---- dish rows: text left, photo right with ADD over its foot ---- */
.tw-item{display:grid;grid-template-columns:1fr 118px;gap:16px;padding:18px 0 22px;border-bottom:1px dashed #ddd3c1}
.tw-item-text h3{font-family:var(--display);font-weight:400;font-size:17px;line-height:1.25;margin:2px 0 4px}
.tw-price{font-size:15px;font-weight:600;color:var(--charcoal);margin-bottom:6px}
.tw-item-text p{margin:0 0 6px;font-size:13.5px;color:var(--stone);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tw-item .tags{display:inline-flex;gap:4px}
.tw-badge{display:inline-block;font-size:11px;font-weight:600;color:var(--timber);letter-spacing:.02em}
.tw-item-side{position:relative;width:118px;justify-self:end}
.tw-item-side img,.tw-item-side .ph{width:118px;height:108px;object-fit:cover;border-radius:14px;background:var(--sand);display:block}
.tw-ctl{position:absolute;left:50%;bottom:-16px;transform:translateX(-50%);text-align:center;white-space:nowrap}
.tw-add{min-width:92px;height:36px;border:1px solid var(--beige);border-radius:10px;background:#fff;color:var(--teal);font:inherit;font-weight:700;font-size:14px;letter-spacing:.08em;cursor:pointer;box-shadow:0 3px 10px rgba(31,43,37,.14)}
.tw-add:hover{background:#f3f8f7}
.tw-step{display:inline-flex;align-items:center;height:36px;min-width:92px;justify-content:space-between;background:#fff;border:1px solid var(--beige);border-radius:10px;box-shadow:0 3px 10px rgba(31,43,37,.14);color:var(--teal);font-weight:700}
.tw-step button{width:32px;height:34px;border:0;background:none;color:var(--teal);font-size:18px;font-weight:700;cursor:pointer;padding:0}
.tw-step span{min-width:20px;text-align:center;font-size:14px}
.tw-step.big{height:44px;min-width:110px}
.tw-custom{display:block;font-size:10.5px;color:var(--stone);margin-top:3px}
.tw-sold{display:inline-block;background:#f1ece2;color:var(--stone);border-radius:10px;padding:8px 12px;font-size:12.5px;font-weight:600}
.tw-item.out .tw-item-side img{filter:grayscale(1);opacity:.6}
.tw-add:focus-visible,.tw-step button:focus-visible{outline:2px solid var(--timber);outline-offset:2px}

/* ---- cart bar ---- */
.tw-cartbar{position:fixed;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:20;max-width:688px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--teal);color:#fff;border:0;border-radius:14px;padding:12px 18px;font:inherit;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.25);text-align:left}
.tw-cartbar .l{display:flex;flex-direction:column;line-height:1.2}
.tw-cartbar #cart-qty{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.tw-cartbar strong{font-size:16px}
.tw-cartbar .r{font-weight:600;font-size:15px}

/* ---- checkout: a page of its own on phones, a panel on wide screens ---- */
.tw-co{position:fixed;inset:0;z-index:30;background:#efe9de;overflow-y:auto;-webkit-overflow-scrolling:touch}
.tw-co-inner{max-width:560px;margin:0 auto;padding:0 14px calc(110px + env(safe-area-inset-bottom))}
.tw-co-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;background:#efe9de;padding:14px 0 10px;margin:0 -2px}
.tw-co-head h2{margin:0;font-size:19px;font-weight:600;font-family:var(--font)}
.tw-co-head p{margin:0;font-size:12.5px;color:var(--stone)}
.tw-back{width:38px;height:38px;border-radius:50%;border:1px solid var(--beige);background:#fff;font-size:24px;line-height:1;color:var(--charcoal);cursor:pointer;padding:0 0 3px}
.tw-card{background:#fff;border-radius:16px;padding:14px 16px;margin-bottom:12px;box-shadow:0 1px 2px rgba(31,43,37,.06)}
.tw-card h3{margin:0 0 10px;font-size:15px;font-weight:600}
.tw-line{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:8px 0}
.tw-line+.tw-line{border-top:1px dashed #e9e2d3}
.tw-line-name{font-size:14.5px;font-weight:500}
.tw-line-name small{display:block;font-weight:400;color:var(--stone);font-size:12px}
.tw-line-price{min-width:74px;text-align:right;font-size:14px}
.tw-line .tw-step{height:32px;min-width:84px;box-shadow:none}
.tw-line .tw-step button{height:30px}
.tw-link{background:none;border:0;padding:8px 0;color:var(--teal);font:inherit;font-weight:600;font-size:13.5px;cursor:pointer}
.tw-me{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:var(--sand,#f7f4ed);font-size:14.5px}
.tw-me.hidden,#contact-fields.hidden{display:none}
.tw-note textarea{width:100%;border:1px solid var(--beige);border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;resize:none;background:#faf8f3;outline:none;margin-top:4px;min-height:42px}
.tw-note textarea:focus{border-color:var(--gold);background:#fff}
.tw-radio{display:flex;gap:12px;align-items:flex-start;padding:10px 0;cursor:pointer}
.tw-radio+.tw-radio{border-top:1px dashed #e9e2d3}
.tw-radio input{width:19px;height:19px;margin:2px 0 0;accent-color:var(--teal);flex:none}
.tw-radio strong{display:block;font-size:14.5px;font-weight:500}
.tw-radio small{display:block;font-size:12.5px;color:var(--stone);margin-top:1px}
.tw-later{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 6px 31px}
.tw-later label span{display:block;font-size:11.5px;color:var(--stone);margin-bottom:3px}
.tw-later select{width:100%;border:1px solid var(--beige);border-radius:10px;padding:10px;font:inherit;font-size:14px;background:#fff;color:var(--charcoal)}
.tw-sub{margin:8px 0 0;font-size:12px;color:var(--stone)}
.tw-pay .tw-radio{padding:8px 0}
.tw-card .fld{margin:8px 0}
#summary .row{display:flex;justify-content:space-between;padding:4px 0;font-size:14px;color:#4b463f}
#summary .row.total{border-top:1px solid #e9e2d3;margin-top:8px;padding-top:10px;font-weight:700;color:var(--charcoal);font-size:15px}
.tw-policy{font-size:12px;color:var(--stone);margin:0 4px 10px}
.tw-paybar{position:fixed;left:0;right:0;bottom:0;z-index:3;background:#fff;box-shadow:0 -6px 20px rgba(31,43,37,.12);padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
.tw-paybar{display:flex;align-items:center;justify-content:space-between;gap:14px}
.tw-paybar>div{line-height:1.2}
.tw-paybar strong{display:block;font-size:18px}
.tw-paybar small{font-size:11.5px;color:var(--stone)}
.tw-paybar .btn{width:auto;flex:0 0 auto;min-width:170px;background:var(--teal);border-color:var(--teal);letter-spacing:.06em;font-weight:600}
@media (min-width:600px){.tw-paybar{max-width:560px;margin:0 auto;left:0;right:0;border-radius:16px 16px 0 0}}

/* ---- dish options sheet ---- */
.tw-opt-h{font-size:14px;font-weight:600;margin:14px 0 2px}
.tw-sheet-foot{display:flex;gap:12px;align-items:center;margin-top:14px}
.tw-sheet-foot .tw-step{box-shadow:none}
.tw-sheet-foot .btn{flex:1;background:var(--teal);border-color:var(--teal);letter-spacing:.04em}

/* ---- messages and fields ---- */
.tw-err{background:#f9e9e4;color:#8a2f2f;border-radius:12px;padding:10px 12px;font-size:13.5px;margin:10px 0}
.fld.bad input,.fld.bad textarea{border-color:#b9493c}
.fld .err{display:block;color:#8a2f2f;font-size:12px;margin-top:4px}

/* ---- confirmation and tracking page ---- */
.tw-facts{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;font-size:14px;margin:0}
.tw-facts dt{color:var(--stone)}.tw-facts dd{margin:0}
.tw-banner{background:rgba(58,107,104,.1);border:1px solid rgba(58,107,104,.3);color:var(--green);border-radius:16px;padding:14px 16px;margin:14px 0 4px}
.tw-banner strong{font-family:var(--display);font-weight:400;font-size:20px;display:block;margin-bottom:2px}
.tw-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.tw-actions .btn{flex:1 1 180px;width:auto}
.tw-actions .btn.ghost{margin-top:0}
.tw-sum .row{display:flex;justify-content:space-between;padding:4px 0;font-size:14px;color:var(--stone)}
.tw-sum .row.total{color:var(--charcoal);font-size:15px;border-top:1px solid #e9e2d3;margin-top:6px;padding-top:10px}
.tw-sum .row.total strong{font-family:var(--display);font-size:24px;font-weight:400}
.btn.danger{background:transparent;color:#8a2f2f;border-color:#c99a93}
@media (max-width:380px){.tw-facts-row li{padding:0 6px}.tw-facts-row strong{font-size:12.5px}.tw-item{grid-template-columns:1fr 104px}.tw-item-side,.tw-item-side img,.tw-item-side .ph{width:104px}}
@media print{
  .hd,.tw-actions,.tw-banner,#cancel-box,.steps{display:none!important}
  body{background:#fff}.receipt{border:0;padding:0}
}

/* ---- dish without a photo: no empty box, the button beside the text ---- */
.tw-item.no-img{grid-template-columns:1fr auto;align-items:end}
.tw-item.no-img .tw-item-side{width:auto}
.tw-item.no-img .tw-ctl{position:static;transform:none}

/* ---- side cart (computer screens only) ---- */
.tw-side{display:none}

/* ---- computer screens: categories | dishes | your order ---- */
@media (min-width:1024px){
  body.tw #app.wrap{max-width:1240px;padding:0 28px 80px}
  .tw-hero{max-width:none}
  .tw-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:36px;align-items:start}
  .tw-main{display:grid;grid-template-columns:210px minmax(0,1fr);grid-template-areas:"search search" "groups groups" "cats menu" "cats foot";column-gap:32px}
  .tw-search{grid-area:search}.groups{grid-area:groups;max-width:420px}
  .tw-main #menu{grid-area:menu;min-width:0}.tw-main .foot{grid-area:foot}
  .tw-main .cats{grid-area:cats;flex-direction:column;gap:2px;overflow:visible;position:sticky;top:84px;align-self:start;padding:6px 0;background:none;max-height:calc(100vh - 110px);overflow-y:auto}
  .tw-main .cats .c{border:0;border-radius:10px;text-align:left;white-space:normal;padding:10px 12px;letter-spacing:.04em;font-size:12px;line-height:1.3;background:none}
  .tw-main .cats .c.on{background:var(--green);color:var(--champagne)}
  .tw-main .cats .c:not(.on):hover{background:#ece5d6}
  .tw-main .cat-title{margin-top:8px}
  .tw-side{display:block;position:sticky;top:84px;background:#fff;border-radius:16px;padding:18px 18px 16px;box-shadow:0 10px 30px rgba(31,43,37,.08);max-height:calc(100vh - 110px);overflow:auto}
  .tw-side h2{margin:0 0 12px;font-size:18px;font-weight:600}
  .tw-side-line{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px dashed #e9e2d3;font-size:14px}
  .tw-side-line small{display:block;color:var(--stone);font-size:12px}
  .tw-side-line .tw-step{height:30px;min-width:78px;box-shadow:none}.tw-side-line .tw-step button{height:28px;width:26px}
  .tw-side-line .p{min-width:70px;text-align:right}
  .tw-side-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:12px;font-size:15px}
  .tw-side-note{margin:4px 0 12px;font-size:12px;color:var(--stone)}
  .tw-side-go{width:100%;background:var(--teal);border-color:var(--teal)}
  .tw-side-empty{color:var(--stone);font-size:14px;line-height:1.5;margin:6px 0}
  .tw-cartbar{display:none!important}
}
.tw-policy a{color:var(--timber);font-weight:600}
