/* ==========================================================================
   Layali — online ordering widget
   ========================================================================== */

.ow {
  width: min(1180px, calc(100vw - 32px)); height: min(860px, calc(100svh - 32px)); max-height: none; max-width: none;
  padding: 0; border: 0; border-radius: 26px; overflow: hidden;
  background: var(--ink-2); color: var(--bone); font-family: var(--f-body);
  box-shadow: 0 0 0 1px var(--line-2), 0 50px 140px rgba(0, 0, 0, .75);
  opacity: 0; transform: translateY(28px) scale(.98);
  transition: opacity .45s var(--ease), transform .6s var(--ease), overlay .45s allow-discrete, display .45s allow-discrete;
}
.ow[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); opacity: 1; transform: none; }
@starting-style { .ow[open] { opacity: 0; transform: translateY(28px) scale(.98); } }
.ow::backdrop { background: rgba(6, 4, 3, .78); backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s, overlay .45s allow-discrete, display .45s allow-discrete; }
.ow[open]::backdrop { opacity: 1; }
@starting-style { .ow[open]::backdrop { opacity: 0; } }

/* ---------- Top bar ---------- */
.ow__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); background: var(--ink); }
.ow__brand { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.ow__brand img { width: 84px; flex: none; }
.ow__loc {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; font-weight: 700; transition: box-shadow .3s;
}
.ow__loc:hover { box-shadow: inset 0 0 0 1px var(--flame); }
.ow__loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow__loc svg { width: 14px; height: 14px; flex: none; color: var(--ember); }
.ow__loc .dot { width: 8px; height: 8px; border-radius: 50%; background: #5bd17a; flex: none; }
.ow__loc .dot.is-closed { background: #e2574c; }
.ow__tools { display: flex; gap: 8px; }
.ow__tool { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.ow__tool:hover { background: var(--bone); color: var(--ink); }
.ow__tool svg { width: 18px; height: 18px; }
.ow__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ember); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ow__badge:empty { display: none; }
.ow__back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--bone-dim); padding: 8px 4px; }
.ow__back:hover { color: var(--flame); }
.ow__back svg { width: 16px; height: 16px; transform: rotate(180deg); }

/* ---------- Body ---------- */
.ow__body { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.ow.has-side .ow__body { grid-template-columns: minmax(0, 1fr) 360px; }
.ow__main { position: relative; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; }
.ow__view { padding: 24px clamp(18px, 3vw, 36px) 48px; animation: ow-in .45s var(--ease); }
@keyframes ow-in { from { opacity: 0; transform: translateY(12px); } }
.ow__side { display: none; min-height: 0; border-left: 1px solid var(--line); background: var(--ink); }
.ow.has-side .ow__side { display: flex; flex-direction: column; }
.ow__mbar { display: none; }

.ow-h { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .9; }
.ow-h--xl { font-size: clamp(40px, 5vw, 64px); }
.ow-h--lg { font-size: clamp(30px, 3.4vw, 44px); }
.ow-h--md { font-size: 26px; }
.ow-muted { color: var(--bone-dim); font-size: 14px; }
.ow-small { font-size: 12px; color: var(--ash); }
.ow-notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 20px;
  background: rgba(255, 162, 46, .1); box-shadow: inset 0 0 0 1px rgba(255, 162, 46, .3); font-size: 14px; color: var(--bone);
}
.ow-notice svg { width: 18px; height: 18px; color: var(--flame); flex: none; margin-top: 2px; }
.ow-notice--err { background: rgba(226, 87, 76, .12); box-shadow: inset 0 0 0 1px rgba(226, 87, 76, .4); }
.ow-notice--err svg { color: #ff7a6b; }

/* ---------- Locations ---------- */
.ow-locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.ow-loc { display: flex; flex-direction: column; text-align: left; border-radius: 20px; overflow: hidden; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .5s var(--ease); }
.ow-loc:hover { box-shadow: inset 0 0 0 1px var(--ember); transform: translateY(-3px); }
.ow-loc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ow-loc div { padding: 16px 18px 18px; display: grid; gap: 6px; }
.ow-loc .ow-h { font-size: 30px; }
.ow-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5bd17a; }
.ow-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ow-status.is-closed { color: #ff7a6b; }

/* ---------- Menu ---------- */
.ow-tabs { position: sticky; top: 0; z-index: 3; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px clamp(18px, 3vw, 36px); margin: -24px calc(clamp(18px, 3vw, 36px) * -1) 8px; background: rgba(20, 15, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ow-tabs::-webkit-scrollbar { display: none; }
.ow-tab { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--bone-dim); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.ow-tab:hover { color: var(--bone); }
.ow-tab.is-active { background: var(--bone); color: var(--ink); box-shadow: none; }
.ow-cat { padding-top: 28px; scroll-margin-top: 64px; }
.ow-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; flex-wrap: wrap; }
.ow-cat__head p { font-family: var(--f-serif); font-style: italic; color: var(--bone-dim); font-size: 17px; }
.ow-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); column-gap: 28px; }
.ow-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; width: 100%; text-align: left;
  padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 12px; transition: background .25s;
}
.ow-item:hover:not(:disabled) { background: rgba(244, 234, 219, .04); }
.ow-item:disabled { cursor: not-allowed; opacity: .45; }
.ow-thumb { width: 76px; height: 76px; border-radius: 14px; background: radial-gradient(circle at 50% 60%, rgba(255, 91, 31, .28), transparent 70%), var(--ink-3); display: grid; place-items: center; overflow: hidden; }
.ow-thumb img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.1); }
.ow-thumb span { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--flame); }
.ow-item h4 { font-family: var(--f-display); font-weight: 800; font-size: 21px; text-transform: uppercase; line-height: 1; }
.ow-item p { font-size: 12.5px; color: var(--bone-dim); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ow-item .ow-price { align-self: start; text-align: right; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--flame); white-space: nowrap; }
.ow-item .ow-price small { display: block; font-family: var(--f-body); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }
.ow-soldout { display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(226, 87, 76, .15); color: #ff8a7d; }

/* ---------- Item detail ---------- */
.ow-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.ow-detail__media { position: sticky; top: 0; aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(circle at 50% 58%, rgba(255, 91, 31, .38), transparent 62%), var(--ink); }
.ow-detail__media img { width: 88%; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .6)); }
.ow-detail__media span { font-family: var(--f-serif); font-style: italic; font-size: 72px; color: var(--flame); }
.ow-detail__body { display: grid; gap: 18px; }
.ow-group { display: grid; gap: 8px; }
.ow-group__title { width: 100%; display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
.ow-group__title em { font-style: normal; color: var(--flame); letter-spacing: .1em; }
.ow-choice { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s; }
.ow-choice:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.ow-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ow-choice::before { content: ''; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); flex: none; transition: box-shadow .25s; }
.ow-choice:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ember); }
.ow-choice:has(input:checked)::before { box-shadow: inset 0 0 0 5px var(--ember); }
.ow-choice:has(input:focus-visible) { outline: 2px solid var(--flame); outline-offset: 2px; }
.ow-choice span { flex: 1; font-weight: 600; }
.ow-choice strong { font-family: var(--f-display); font-size: 20px; color: var(--flame); }
.ow-qty { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ow-qty button { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; font-weight: 700; display: grid; place-items: center; transition: background .25s; }
.ow-qty button:hover { background: var(--ink-4); }
.ow-qty output { min-width: 28px; text-align: center; font-weight: 800; }
.ow-qty--sm button { width: 30px; height: 30px; font-size: 16px; }
.ow-addrow { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ow-addrow .btn { flex: 1; min-width: 220px; }

/* ---------- Fields ---------- */
.ow-field { display: grid; gap: 6px; }
.ow-field label, .ow-label { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ash); }
.ow-field input, .ow-field select, .ow-field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 0; outline: 0; font: inherit; font-size: 15px;
  background: var(--ink-3); color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s;
}
.ow-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4eadb' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.ow-field select option { background: var(--ink-3); }
.ow-field textarea { min-height: 84px; resize: vertical; }
.ow-field input:focus, .ow-field select:focus, .ow-field textarea:focus { box-shadow: inset 0 0 0 1px var(--flame), 0 0 0 4px rgba(255, 91, 31, .12); }
.ow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ow-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.ow-seg label { position: relative; display: grid; justify-items: center; gap: 4px; padding: 14px 10px; border-radius: 14px; text-align: center; cursor: pointer; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; transition: box-shadow .25s, background .25s; }
.ow-seg label small { font-weight: 500; font-size: 11.5px; color: var(--ash); }
.ow-seg label svg { width: 20px; height: 20px; color: var(--ember); }
.ow-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ow-seg label:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ember); background: rgba(255, 91, 31, .08); }
.ow-seg label:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.ow-seg label:has(input:focus-visible) { outline: 2px solid var(--flame); outline-offset: 2px; }

/* ---------- Cart ---------- */
.ow-cart { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ow-cart__head { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.ow-cart__lines { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 22px; }
.ow-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line-2); }
.ow-line h5 { font-size: 14px; font-weight: 800; }
.ow-line__meta { font-size: 12px; color: var(--ash); grid-column: 1 / -1; margin-top: -4px; }
.ow-line__price { font-weight: 800; color: var(--bone); white-space: nowrap; }
.ow-line__ctrl { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.ow-link { font-size: 12px; font-weight: 700; color: var(--ash); text-decoration: underline; text-underline-offset: 3px; }
.ow-link:hover { color: #ff8a7d; }
.ow-totals { display: grid; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.ow-totals div { display: flex; justify-content: space-between; color: var(--bone-dim); }
.ow-totals .is-total { color: var(--bone); font-weight: 800; font-size: 17px; padding-top: 8px; border-top: 1px solid var(--line); }
.ow-totals .is-total span:last-child { font-family: var(--f-display); font-size: 26px; color: var(--flame); }
.ow-cart__foot { padding: 0 22px 22px; display: grid; gap: 10px; }
.ow-empty { display: grid; place-items: center; text-align: center; gap: 10px; padding: 48px 12px; color: var(--ash); font-size: 14px; }
.ow-empty svg { width: 40px; height: 40px; color: var(--ink-4); }

/* ---------- Checkout ---------- */
.ow-checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.ow-steps { display: grid; gap: 14px; }
.ow-step { display: grid; gap: 14px; padding: 20px; border-radius: 18px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.ow-step__title { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.ow-step__title b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 91, 31, .16); color: var(--ember); font-size: 15px; }
.ow-summary { position: sticky; top: 0; border-radius: 18px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ow-summary .ow-cart__lines { max-height: 340px; }
.ow-summary__head { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; padding: 14px 22px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ash); border-bottom: 1px solid var(--line); }
.ow-sumline { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.ow-sumline b { color: var(--flame); }
.ow-sumline small { display: block; color: var(--ash); font-size: 12px; }
.ow-submit { padding: 0 22px 22px; display: grid; gap: 10px; }
.ow-error { color: #ff8a7d; font-size: 14px; font-weight: 600; }

/* ---------- Status ---------- */
.ow-track { max-width: 720px; margin: 0 auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.ow-track__num { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--flame); }
.ow-track__eta { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 10vw, 120px); line-height: .85; color: var(--bone); }
.ow-track__eta small { display: block; font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); margin-bottom: 8px; }
.ow-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; margin: 12px 0; }
.ow-timeline li { position: relative; display: grid; gap: 8px; justify-items: center; font-size: 12px; font-weight: 700; color: var(--ash); }
.ow-timeline li::before { content: ''; width: 100%; height: 4px; border-radius: 4px; background: var(--ink-4); }
.ow-timeline li.is-done { color: var(--bone); }
.ow-timeline li.is-done::before { background: linear-gradient(90deg, var(--ember), var(--flame)); }
.ow-timeline li.is-current::before { animation: ow-pulse 1.4s ease-in-out infinite; }
@keyframes ow-pulse { 50% { opacity: .45; } }
.ow-receipt { width: 100%; text-align: left; border-radius: 18px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 22px 0; }
.ow-receipt .ow-totals { padding-inline: 0; }
.ow-spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink-4); border-top-color: var(--ember); animation: spin .9s linear infinite; }

/* ---------- Floating "your order" pill ---------- */
.ow-pill {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px rgba(0, 0, 0, .5);
  font-size: 13px; font-weight: 700; animation: ow-in .6s var(--ease);
}
.ow-pill i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: var(--ink); font-style: normal; }
.ow-pill i svg { width: 16px; height: 16px; }
.ow-pill small { display: block; font-size: 11px; color: var(--flame); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .ow.has-side .ow__body { grid-template-columns: minmax(0, 1fr); }
  .ow.has-side .ow__side { display: none; }
  .ow.has-mbar .ow__mbar { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ink); }
  .ow-checkout { grid-template-columns: 1fr; }
  .ow-summary { position: static; }
}
@media (max-width: 700px) {
  .ow { width: 100vw; height: 100svh; border-radius: 0; }
  .ow__brand img { display: none; }
  .ow__bar { padding: 10px 10px 10px 14px; }
  .ow-detail { grid-template-columns: 1fr; }
  .ow-detail__media { position: static; max-width: 300px; width: 100%; margin: 0 auto; }
  .ow-items { grid-template-columns: 1fr; }
  .ow-item { grid-template-columns: 64px 1fr auto; padding: 12px 2px; }
  .ow-thumb { width: 64px; height: 64px; }
  .ow-row { grid-template-columns: 1fr; }
  .ow-seg { grid-auto-flow: row; }
  .ow-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
}

/* ---------- Promotions ---------- */
.ow-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 8px 0 8px; }
.ow-promo {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: 20px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 100%, rgba(255, 91, 31, .45), transparent 60%), var(--ink-3); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .35);
}
.ow-promo__pct { font-family: var(--f-display); font-weight: 900; font-size: 64px; line-height: .8; color: var(--flame); }
.ow-promo p { margin-top: 6px; }
.ow-saved { color: #8be08b !important; }
.ow-saved span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.ow-saved svg, .ow-small svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }

/* Category header art */
.ow-cat__head { position: relative; align-items: center; min-height: 96px; }
.ow-cat__art { width: 120px; height: 120px; object-fit: contain; margin: -24px 0 -12px auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }

/* Toast */
.ow-toast {
  position: absolute; left: 50%; bottom: 84px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: var(--bone); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease);
}
.ow-toast svg { width: 18px; height: 18px; color: #2e9c4f; }
.ow-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Table booking ---------- */
.ow-book { position: relative; display: grid; min-height: 100%; margin: -24px calc(clamp(18px, 3vw, 36px) * -1) -48px; grid-template-rows: 1fr auto; }
.ow-book__bg { position: absolute; inset: 0 0 auto; height: calc(100% - 88px); background-size: cover; background-position: center; filter: brightness(.35) saturate(.8); }
.ow-book__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 100%, rgba(255, 91, 31, .3), transparent 70%); }
.ow-book__card {
  position: relative; align-self: center; justify-self: center; width: min(460px, calc(100% - 32px)); margin: 40px 0; display: grid; gap: 14px;
  padding: 28px; border-radius: 22px; background: rgba(20, 15, 12, .92); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .5);
}
.ow-book__card .ow-field label svg { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; margin-right: 4px; color: var(--ember); }
.ow-book__foot { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px clamp(18px, 3vw, 36px); background: var(--ink); border-top: 1px solid var(--line); }
.ow-book__foot p { max-width: 440px; }
.ow-book__foot .btn { min-width: 200px; }
.ow-sumline b svg { width: 18px; height: 18px; color: var(--ember); }
.ow-step .ow-choice small { margin-top: 2px; }
.ow-pill { cursor: pointer; color: var(--bone); }
@media (max-width: 700px) {
  .ow-book__foot { flex-direction: column; align-items: stretch; }
  .ow-cat__art { width: 84px; height: 84px; }
  .ow-promo__pct { font-size: 48px; }
}

/* Dark scrollbars inside the widget */
.ow, .ow * { scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; }
.ow ::-webkit-scrollbar { width: 10px; height: 10px; }
.ow ::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 10px; border: 2px solid var(--ink-2); }
.ow ::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 420px) {
  .ow__tools { gap: 4px; }
  .ow__tool { width: 38px; height: 38px; }
  .ow__loc { padding: 0 10px; font-size: 12px; }
  .ow-promo { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
}

/* ---------- Checkout extras ---------- */
.ow-subhead { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--flame); }
.ow-subhead svg { width: 15px; height: 15px; }
.ow-seg label:has(input:disabled) small { color: #ff8a7d; }
.ow-done { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(91, 209, 122, .15); color: #7fe39a; box-shadow: inset 0 0 0 1px rgba(91, 209, 122, .4); }
.ow-done svg { width: 34px; height: 34px; }

/* ---------- Phones & tablets ---------- */
@media (max-width: 1023px) {
  /* Submit lives in the fixed bottom bar on small screens */
  .ow.is-checkout .ow-submit .btn { display: none; }
  .ow.is-checkout .ow-submit { padding-bottom: 18px; }
}
@media (max-width: 700px) {
  .ow__view { padding: 18px 16px 32px; }
  .ow-tabs { padding: 10px 16px; margin: -18px -16px 8px; }
  .ow-h--xl { font-size: 40px; }
  .ow-h--lg { font-size: 32px; }

  /* Prevent iOS from zooming into focused fields (needs ≥16px) */
  .ow-field input, .ow-field select, .ow-field textarea { font-size: 16px; padding: 14px; }

  /* Ordering method: one clear row per option */
  .ow-seg--methods { grid-auto-flow: row; }
  .ow-seg--methods label { grid-template-columns: 26px 1fr; justify-items: start; align-items: center; column-gap: 12px; row-gap: 0; text-align: left; padding: 14px 16px; font-size: 15px; }
  .ow-seg--methods label svg { grid-row: span 2; width: 24px; height: 24px; }
  /* Two-option choices (when / payment) stay side by side */
  .ow-seg:not(.ow-seg--methods) { grid-auto-flow: column; }
  .ow-seg:not(.ow-seg--methods) label { padding: 12px 8px; font-size: 14px; }
  .ow-row--keep { grid-template-columns: 1fr 1fr; }

  .ow-step { padding: 16px; gap: 12px; border-radius: 16px; }
  .ow-step__title { font-size: 20px; }
  .ow-checkout { gap: 14px; }
  .ow-summary .ow-cart__lines { max-height: none; }

  /* Item screen: "Añadir" always visible */
  .ow-addrow { position: sticky; bottom: 0; z-index: 2; margin: 0 -16px -32px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--ink-2) 24%); flex-wrap: nowrap; }
  .ow-addrow .btn { min-width: 0; }
  .ow-detail__media { max-width: 240px; }

  .ow-track { gap: 14px; }
  .ow-track__eta { font-size: 64px; }
  .ow-book__card { padding: 22px 18px; margin: 20px 0; }
  .ow-book__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .ow-book__foot .btn { min-width: 0; width: 100%; }
  .ow-locs { grid-template-columns: 1fr; }
  .ow-cart__head, .ow-cart__lines, .ow-totals, .ow-cart__foot, .ow-submit { padding-left: 16px; padding-right: 16px; }
  .ow-summary__head { padding: 12px 16px; }
  .ow-pill { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .ow-loc { font-size: 11px; }
  .ow__loc span { max-width: 110px; }
  .ow-item { grid-template-columns: 56px 1fr; }
  .ow-item .ow-price { grid-column: 2; text-align: left; }
  .ow-thumb { width: 56px; height: 56px; }
  .ow-row--keep { gap: 8px; }
}
