/* Reservar: the booking wizard, the live receipt and the printable quote. */
.top { padding-top: 32px; padding-bottom: 8px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.top h1 { font-size: clamp(42px, 5.5vw, 68px); margin-top: 12px; }
.top .lead { margin-top: 14px; }
.top-toy { width: 64px; flex: none; }

.layout { max-width: 880px; margin-top: 24px; }

/* balloon progress track */
.track { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.track button { width: 100%; background: none; border: 0; padding: 4px 0; display: grid; justify-items: center; gap: 4px; color: var(--ink-2); font: 800 12px/1.2 var(--body); cursor: pointer; min-height: 44px; }
.track button:disabled { cursor: default; }
.track svg { width: 30px; height: 45px; overflow: visible; }
.track .bal { fill: transparent; stroke: var(--line); stroke-width: 2.5; }
.track .str { fill: none; stroke: var(--line); stroke-width: 1.5; }
.track .done .bal, .track .now .bal { fill: var(--c); stroke: var(--c); }
.track .done .str, .track .now .str { stroke: var(--ink-2); }
.track .now button { color: var(--ink); }
.track .now svg { animation: bobble 1.4s ease-in-out infinite alternate; }
@keyframes bobble { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-6px) rotate(4deg); } }

/* the step card */
.stepcard { min-height: 700px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: 0 16px 40px -28px rgba(46, 42, 53, 0.4); overflow: hidden; }
.body h2 { font-size: clamp(32px, 4vw, 44px); }
.body .sp { color: var(--ink-2); margin: 8px 0 22px; }
.body.in-r { animation: in-r 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.body.in-l { animation: in-l 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes in-r { from { opacity: 0; transform: translateX(40px); } }
@keyframes in-l { from { opacity: 0; transform: translateX(-40px); } }
.lab { display: block; font: 800 15px/1.3 var(--body); margin: 22px 0 10px; }
.req > span::after, .lab.req::after { content: " *"; color: var(--magenta); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fld { display: grid; gap: 8px; margin-top: 16px; }
.fld > span { font: 800 15px/1.3 var(--body); }
.fld input, .fld textarea { width: 100%; min-height: 52px; border-radius: 14px; border: 2px solid var(--line); background: var(--inset); color: var(--ink); font: 400 17px var(--body); padding: 12px 14px; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--magenta); background: var(--surface); }

/* occasion cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.mcard { min-height: 80px; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 800 17px/1.2 var(--display); cursor: pointer; transition: transform 150ms ease-out, border-color 150ms ease-out; }
.mcard .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; }
.mcard:hover { border-color: var(--c); }
.mcard[aria-pressed="true"] { border-color: var(--c); box-shadow: 0 0 0 3px var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); animation: pop 260ms ease-out; }
@keyframes pop { 50% { transform: scale(1.04); } }

/* steppers */
.steppers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stepper { background: var(--inset); border-radius: 20px; padding: 14px; display: grid; justify-items: center; gap: 8px; }
.stepper .lab { margin: 0; }
.fld .stepper { justify-items: start; background: none; padding: 0; }
.fld .stepper .lab { display: none; }
.ctl { display: flex; align-items: center; gap: 10px; }
.sbtn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--butter); color: #2e2a35; font: 800 26px/1 var(--display); cursor: pointer; transition: transform 120ms ease-out; }
.sbtn:active { transform: scale(0.9); }
.sbtn.sm { width: 44px; height: 44px; font-size: 22px; }
/* the number in the middle can be tapped and typed */
.num { width: 84px; height: 56px; text-align: center; font: 800 36px/1 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 14px; -moz-appearance: textfield; appearance: textfield; cursor: text; }
.num::-webkit-inner-spin-button, .num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.num:focus { outline: none; border-color: var(--magenta); }
.num.sm { width: 72px; height: 46px; font-size: 24px; }
.unit { font-size: 13px; color: var(--ink-2); margin-left: 4px; }
.gcount { margin-top: 14px; color: var(--ink-2); }
.gcount b { font: 800 22px var(--display); color: var(--ink); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { content: "\2713  "; }

/* dessert and extra cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pcard { border: 2px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: border-color 150ms ease-out; }
.pcard.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.ptog { width: 100%; min-height: 76px; display: grid; gap: 6px; align-content: start; text-align: left; background: none; border: 0; padding: 14px 16px; color: var(--ink); cursor: pointer; }
.ptog .nm { font: 800 16px/1.2 var(--body); }
.ptog .pt { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ptog .pt.ask { font-style: italic; }
.pcard.on .ptog .nm::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); margin-right: 8px; }
.pq { display: flex; align-items: center; gap: 6px; padding: 0 12px 12px; }
.none-btn { margin-top: 14px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px dashed var(--line); background: none; color: var(--ink-2); font: 700 15px var(--body); cursor: pointer; }
.none-btn[aria-pressed="true"] { border-style: solid; border-color: var(--ink); color: var(--ink); }

.acc { display: flex; gap: 12px; align-items: center; margin-top: 20px; font-weight: 700; min-height: 44px; }
.acc input { width: 24px; height: 24px; accent-color: var(--magenta); flex: none; }

.msg { min-height: 24px; margin-top: 18px; color: var(--magenta); font-weight: 800; }
.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.wnav [data-next] { margin-left: auto; min-width: 180px; }

/* the receipt: paper with a zigzag bottom edge */
.receipt-wrap { position: sticky; top: 16px; }
.receipt { background: var(--surface); border: 1px solid var(--line); border-bottom: 0; padding: 24px 24px 34px; box-shadow: 0 16px 40px -28px rgba(46, 42, 53, 0.45);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%; border-radius: 20px 20px 0 0; }
.rc-head { display: flex; align-items: center; gap: 12px; }
.rc-head img { width: 64px; height: auto; background: var(--chip); border-radius: 8px; padding: 4px; }
.rc-head b { display: block; font: 800 22px/1 var(--display); }
.rc-head .est { font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta); }
.rc-meta { margin: 12px 0 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-meta span { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.rc-g { list-style: none; margin: 0; padding: 8px 0; border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.rc-g li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 15px; }
.rc-g b { font-variant-numeric: tabular-nums; text-align: right; }
.rc-g small { display: block; font-weight: 400; color: var(--ink-2); font-size: 12px; }
.rc-sum p { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.rc-sum { padding-top: 8px; }
.rc-sum .tot { margin-top: 6px; padding-top: 10px; border-top: 2px solid var(--ink); align-items: baseline; }
.rc-sum .tot span { font-weight: 800; }
.rc-sum .tot b, .totalbar b { font: 800 28px/1 var(--display); color: var(--magenta); font-variant-numeric: tabular-nums; }
.bump { display: inline-block; animation: bump 380ms cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes bump { 40% { transform: scale(1.14); } }
.rc-note { margin-top: 12px; font-size: 12px; color: var(--ink-2); }

/* the total bar, phones only */
.totalbar { display: none; }

/* the finished quote */
.result { display: none; }
body.is-done .layout, body.is-done .top { display: none; }
body.is-done .result { display: block; margin-top: 32px; }
.done-top { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.done-toy { width: 90px; flex: none; }
.done-top h2 { font-size: clamp(32px, 4.5vw, 52px); }
.done-top p { color: var(--ink-2); margin-top: 8px; max-width: 62ch; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; max-width: 860px; }
.sheet header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 3px solid var(--magenta); }
.sheet header img { width: 120px; height: auto; background: var(--chip); border-radius: 10px; padding: 6px; }
.sheet header div { text-align: right; }
.sheet header b { display: block; font: 800 24px var(--display); }
.sheet header span { color: var(--ink-2); font-size: 14px; }
.sheet .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 8px; font-size: 15px; }
.sheet h3 { font-size: 20px; margin: 20px 0 6px; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.sheet td:nth-child(2) { width: 64px; }
.sheet td:nth-child(3) { width: 110px; }
.sheet td:nth-child(4) { width: 124px; }
.sheet td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sheet td.n { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.sheet .sum { margin: 20px 0 0 auto; max-width: 340px; }
.sheet .sum p { display: flex; justify-content: space-between; padding: 6px 0; font-variant-numeric: tabular-nums; }
.sheet .sum .tot { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; }
.sheet .sum .tot b { font: 800 28px var(--display); color: var(--magenta); }
.sheet .note { margin-top: 16px; }
.done-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* TINY, conditions, Google Form link */
.lower { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.card h2 { font-size: 28px; margin: 8px 0 10px; padding-right: 56px; }
.card ul { margin: 12px 0 18px; padding-left: 20px; font-size: 15px; }
.card li { margin: 6px 0; }



details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
summary { cursor: pointer; padding: 18px 24px; font: 800 20px/1.2 var(--display); min-height: 44px; }
details ol { margin: 0; padding: 0 24px 22px 44px; color: var(--ink-2); font-size: 15px; }
details li { margin: 8px 0; }
.gform { grid-column: 1 / -1; }
.gform a { font-weight: 700; }

@media (max-width: 960px) {
  .layout, .lower { grid-template-columns: 1fr; }
  .receipt-wrap { position: static; }
  .totalbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; background: var(--dark); color: var(--on-dark); text-decoration: none; font-weight: 800; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); }
  .totalbar b { font-size: 22px; color: #ff6a9b; }
  body { padding-bottom: 84px; }
  body.is-done .totalbar { display: none; }
}
@media (max-width: 600px) {
  .stepcard { padding: 22px 18px; border-radius: 22px; }
  .row2, .steppers { grid-template-columns: 1fr; }
  .track span { font-size: 10px; }
  .top-toy { display: none; }
  .sheet { padding: 20px 16px; }
  .sheet td:nth-child(3) { display: none; }
  .sheet td:nth-child(2) { width: 44px; }
  .sheet td:nth-child(4) { width: 104px; }
}
@media print {
  header, footer, .top, .layout, .lower, .totalbar, .done-top, .done-act { display: none !important; }
  body { background: #ffffff; color: #000000; padding: 0; }
  .result { display: block !important; margin: 0 !important; }
  .sheet { border: 0; padding: 0; max-width: none; }
  .sheet, .sheet * { color: #000000 !important; }
  .sheet .sum .tot b { color: #000000 !important; }
  @page { margin: 14mm; }
}

/* time buttons */
.times { display: grid; gap: 10px; }
.tgroup { display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center; }
.tglab { font: 800 13px/1.2 var(--body); color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.1em; }
.tchip { min-width: 96px; justify-content: center; }
.tchip[aria-pressed="true"] { background: var(--magenta); border-color: var(--magenta); color: var(--on-magenta); }

/* the total at the end, details on request */
.bigtotal { display: flex; align-items: center; gap: 28px; background: var(--dark); color: var(--on-dark); border-radius: 28px; padding: 32px 36px; max-width: 860px; margin-bottom: 20px; }
.bigtotal .eyebrow { color: var(--butter); }
.bigtotal .amount { font: 800 clamp(44px, 7vw, 76px)/1 var(--display); font-variant-numeric: tabular-nums; margin: 8px 0 6px; color: #ff6a9b; }
.bigtotal .bt-note { opacity: 0.85; margin-bottom: 18px; }
.bt-toy { width: 120px; flex: none; }
@media (max-width: 960px) { .stepcard { min-height: 0; } }
@media (max-width: 600px) { .tgroup { grid-template-columns: 1fr; gap: 6px; } .tchip { min-width: 0; } .bigtotal { padding: 24px 20px; } .bt-toy { display: none; } }
@media print { .bigtotal { display: none !important; } .sheet[hidden] { display: block !important; } }

.sheet .dsc { font-weight: 800; color: var(--free); margin-left: 4px; }
.sheet .sum .saved { color: var(--free); font-size: 14px; }

/* which level: the private room (wizard) or a TINY table on the first level */
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; max-width: 880px; }
.levels button { display: grid; gap: 2px; text-align: left; padding: 16px 20px; min-height: 44px; border-radius: 20px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.levels .lv { font: 900 11px/1.2 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.levels b { font: 800 24px/1.1 var(--display); }
.levels .sub { font-size: 14px; color: var(--ink-2); }
.levels button:hover { border-color: var(--ink-2); }
.levels button[data-nivel-btn="2"][aria-pressed="true"] { border-color: var(--magenta); box-shadow: 0 0 0 2px var(--magenta); }
.levels button[data-nivel-btn="1"][aria-pressed="true"] { border-color: var(--free); box-shadow: 0 0 0 2px var(--free); }
.levels button[aria-pressed="true"] .lv { color: var(--ink); }

/* the TINY table form */
.tinywrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; align-items: start; }
.tinyform, .tdone { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px 32px 32px; box-shadow: 0 16px 40px -28px rgba(46, 42, 53, 0.4); }
.tinyform .hint { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.tinyform .lab { margin-top: 20px; }
.tinyform .btn { margin-top: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 15px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; accent-color: var(--magenta); margin-top: 1px; }
.tdone h2 { font-size: clamp(32px, 4vw, 44px); }
.tdone p { color: var(--ink-2); margin: 10px 0 20px; max-width: 52ch; }
.tinyrules ul { padding-left: 20px; }
.tinyrules > a { font-weight: 700; }
@media (max-width: 860px) { .tinywrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .levels { grid-template-columns: 1fr; } .levels b { font-size: 21px; } .tinyform, .tdone { padding: 22px 18px; border-radius: 22px; } }

.tinyshot { aspect-ratio: 4 / 3; border-radius: 16px; margin: -8px -8px 18px; }
.tinyshot img { object-position: 50% 40%; }
