/*
 * [1048] Fluxus Card Pro: agendar, horario, ubicacion, carta y el calendario
 * para apartar. Toma los colores/letra del estilo de la tarjeta (--acc,
 * --onacc, --fd, --fb, --rad); sin estilo, los del sitio (ver default.php).
 */
.flq-store { --s-acc: var(--acc, #1a1a2e); --s-on: var(--onacc, #fff); --s-ink: #16191c; --s-soft: #5d6268; --s-line: #e3e6e9; --s-tint: color-mix(in srgb, var(--s-acc) 9%, #fff); display: flex; flex-direction: column; gap: 14px; text-align: left; margin: 4px 0 16px; color: var(--s-ink); }
.flq-store *, .flq-sheet * { box-sizing: border-box; }
.flq-store h2 { font-family: var(--fd, inherit), system-ui, sans-serif; font-size: 1.02rem; font-weight: 800; margin: 0; color: var(--s-ink); letter-spacing: -.01em; }
.flq-store svg, .flq-sheet svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.flq-store-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--s-acc); color: var(--s-on); font: 800 1rem/1.2 var(--fd, inherit), system-ui, sans-serif; cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--s-acc) 30%, transparent); transition: transform .15s ease, box-shadow .15s ease; }
.flq-store-cta svg { width: 22px; height: 22px; }
.flq-store-cta:hover { transform: translateY(-1px); }
.flq-store-cta:active { transform: translateY(0); }

.flq-store-sec { display: block; padding: 16px; border: 1px solid var(--s-line); border-radius: 14px; background: #fff; }
.flq-store-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.flq-store-now { font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #e6f4ea; color: #17643a; white-space: nowrap; }
.flq-store-now.is-closed { background: #f4e9e9; color: #8a2b2b; }
.flq-store-hours { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.flq-store-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--s-line); color: var(--s-soft); }
.flq-store-hours li:first-child { border-top: 0; }
.flq-store-hours li.is-today { color: var(--s-ink); font-weight: 800; }
.flq-store-hours li.is-today span:first-child::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--s-acc); margin-left: 8px; vertical-align: middle; }
.flq-store-note { font-size: .8rem; color: var(--s-soft); margin: 10px 0 0; line-height: 1.45; }

.flq-store-addr { display: grid; grid-template-columns: 22px 1fr; gap: 4px 10px; align-items: start; text-decoration: none; color: var(--s-ink); font-size: .86rem; line-height: 1.4; }
.flq-store-addr svg { width: 20px; height: 20px; color: var(--s-acc); grid-row: span 2; margin-top: 1px; }
.flq-store-addr span { overflow-wrap: anywhere; }
.flq-store-addr b { font-size: .8rem; color: var(--s-acc); }

.flq-store-menu h2 { margin-bottom: 12px; }
.flq-store-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 2px 16px 4px; scroll-snap-type: x proximity; }
.flq-store-tabs::-webkit-scrollbar { display: none; }
.flq-store-tabs button { flex-shrink: 0; scroll-snap-align: start; min-height: 38px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--s-line); background: #fff; color: var(--s-ink); font-family: inherit; font-weight: 700; font-size: .8rem; line-height: 1.1; cursor: pointer; white-space: nowrap; }
.flq-store-tabs button[aria-selected="true"] { background: var(--s-acc); border-color: var(--s-acc); color: var(--s-on); }
/* [1477b] Con muchas categorias las pestañas se salian a la derecha y en computadora no habia forma de llegar a las demas
   (barra escondida, sin flechas): ahora bajan a otro renglon, todas a la vista en cualquier aparato. */
.flq-store-tabs { flex-wrap: wrap; overflow: visible; margin: 0 0 12px; padding: 2px 0 4px; scroll-snap-type: none; }
.flq-store-catmeta { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--s-soft); margin: 0 0 4px; }
.flq-store-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--s-line); }
.flq-store-catmeta + .flq-store-item { border-top: 0; }
.flq-store-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--s-tint); }
.flq-store-item-txt { flex: 1; min-width: 0; }
.flq-store-item h3 { font-size: .92rem; font-weight: 800; margin: 0 0 3px; color: var(--s-ink); line-height: 1.25; overflow-wrap: anywhere; }
.flq-store-item p { font-size: .8rem; line-height: 1.45; color: var(--s-soft); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.flq-store-dur { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: var(--s-soft); }
.flq-store-dur svg { width: 13px; height: 13px; }
.flq-store-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.flq-store-item-side b { font-size: .95rem; font-weight: 800; color: var(--s-ink); white-space: nowrap; }
.flq-store-mini { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 14px; border-radius: 999px; border: 0; background: var(--s-acc); color: var(--s-on); font-family: inherit; font-weight: 800; font-size: .78rem; line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap; }
.flq-store-mini.is-ghost { background: var(--s-tint); color: var(--s-ink); }
.flq-store button:focus-visible, .flq-store a:focus-visible, .flq-sheet button:focus-visible, .flq-sheet a:focus-visible, .flq-sheet input:focus-visible, .flq-sheet textarea:focus-visible { outline: 3px solid var(--s-acc); outline-offset: 2px; }

/* ---------- hoja para apartar ---------- */
.flq-sheet { --s-ink: #16191c; --s-soft: #5d6268; --s-line: #e3e6e9; --s-tint: color-mix(in srgb, var(--s-acc) 9%, #fff); position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 17, 20, .52); font-family: var(--fb, inherit), system-ui, sans-serif; color: var(--s-ink); animation: flqSheetFade .18s ease; }
.flq-sheet-box { width: 100%; max-width: 480px; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,.2); animation: flqSheetUp .24s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 640px) { .flq-sheet { align-items: center; } .flq-sheet-box { border-radius: 22px; max-height: 86vh; } }
.flq-sheet-top { display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px; border-bottom: 1px solid var(--s-line); }
.flq-sheet-top h2 { flex: 1; min-width: 0; font: 800 1.02rem/1.25 var(--fd, inherit), system-ui, sans-serif; margin: 0; text-align: center; }
.flq-sheet-icon { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f3f5; color: var(--s-ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.flq-sheet-icon svg { width: 18px; height: 18px; }
.flq-sheet-icon[hidden] { display: grid !important; visibility: hidden; }
.flq-sheet-steps { display: flex; gap: 6px; justify-content: center; padding: 10px 0 0; }
.flq-sheet-steps i { width: 22px; height: 4px; border-radius: 4px; background: var(--s-line); }
.flq-sheet-steps i.is-on { background: var(--s-acc); }
.flq-sheet-body { padding: 14px 18px 20px; overflow-y: auto; overscroll-behavior: contain; }
.flq-sheet-pick { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--s-tint); font-size: .82rem; line-height: 1.45; }
.flq-sheet-pick b { display: block; font-size: .9rem; }
.flq-sheet-list { display: grid; gap: 8px; }
.flq-sheet-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 1px solid var(--s-line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--s-ink); }
.flq-sheet-opt:hover { border-color: var(--s-acc); }
.flq-sheet-opt > span:not(.flq-sheet-av) { flex: 1; min-width: 0; }
.flq-sheet-opt b { display: block; font-size: .92rem; overflow-wrap: anywhere; }
.flq-sheet-opt small { font-size: .78rem; color: var(--s-soft); }
.flq-sheet-opt em { font-style: normal; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.flq-sheet-av { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--s-tint) center/cover no-repeat; display: grid; place-items: center; font-weight: 800; color: var(--s-acc); flex-shrink: 0; }
.flq-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.flq-cal-head b { font-size: .95rem; text-transform: capitalize; }
.flq-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.flq-cal-grid span { font-size: .68rem; font-weight: 800; color: var(--s-soft); text-transform: uppercase; padding: 4px 0; }
.flq-cal-grid button { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; background: transparent; font-family: inherit; font-weight: 700; font-size: .9rem; line-height: 1; color: #b7bcc2; cursor: default; }
.flq-cal-grid button.is-free { background: var(--s-tint); color: var(--s-ink); cursor: pointer; }
.flq-cal-grid button.is-free:hover { background: var(--s-acc); color: var(--s-on); }
.flq-cal-grid button.is-today { box-shadow: inset 0 0 0 2px var(--s-line); }
.flq-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flq-times button { min-height: 46px; border: 1px solid var(--s-line); border-radius: 12px; background: #fff; font-family: inherit; font-weight: 700; font-size: .88rem; line-height: 1; color: var(--s-ink); cursor: pointer; }
.flq-times button:hover { border-color: var(--s-acc); background: var(--s-tint); }
/* [1049] Reservas: cuantas personas */
.flq-party { grid-template-columns: repeat(4, 1fr); }
.flq-party button { font-size: 1.05rem; min-height: 52px; }
.flq-party button[aria-pressed="true"] { border-color: var(--s-acc); background: var(--s-tint); }
.flq-sheet-empty a { color: var(--s-ink); font-weight: 700; }
.flq-sheet-form { display: grid; gap: 12px; }
.flq-sheet-form label { display: grid; gap: 5px; font-size: .8rem; font-weight: 700; }
.flq-sheet-form input, .flq-sheet-form textarea { width: 100%; min-height: 46px; border: 1px solid #cfd4d9; border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--s-ink); background: #fff; }
.flq-sheet-form textarea { min-height: 72px; resize: vertical; }
.flq-sheet-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flq-sheet-main { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: var(--s-acc); color: var(--s-on); font: 800 1rem/1.2 var(--fd, inherit), system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.flq-sheet-main[disabled] { opacity: .6; cursor: wait; }
.flq-sheet-main.is-wa { background: var(--s-acc); color: var(--s-on); } /* [1053] color de la tarjeta */
.flq-sheet-main svg { width: 20px; height: 20px; }
.flq-sheet-link { display: block; text-align: center; margin-top: 12px; font-size: .84rem; font-weight: 700; color: var(--s-ink); }
.flq-sheet-err { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #f9e7e7; color: #8a2b2b; font-size: .84rem; }
.flq-sheet-empty { text-align: center; color: var(--s-soft); font-size: .88rem; padding: 18px 6px; }
.flq-sheet-done { text-align: center; padding: 6px 0 4px; }
.flq-sheet-done .ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; background: #e6f4ea; color: #17643a; display: grid; place-items: center; }
.flq-sheet-done .ok svg { width: 30px; height: 30px; stroke-width: 3; }
.flq-sheet-done h3 { font: 800 1.15rem/1.25 var(--fd, inherit), system-ui, sans-serif; margin: 0 0 6px; }
.flq-sheet-done p { margin: 0 0 16px; font-size: .9rem; color: var(--s-soft); line-height: 1.5; }
.flq-sheet-done p b { color: var(--s-ink); }
.flq-sheet-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--s-line); border-top-color: var(--s-acc); margin: 24px auto; animation: flqSpin .8s linear infinite; }
@keyframes flqSheetFade { from { opacity: 0; } }
@keyframes flqSheetUp { from { transform: translateY(40px); opacity: .4; } }
@keyframes flqSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .flq-sheet, .flq-sheet-box, .flq-store-cta { animation: none; transition: none; } }
html.flq-sheet-open, html.flq-sheet-open body { overflow: hidden; }
