/* Rezervácie servisu — zákaznícky widget */

body { background: linear-gradient(180deg, #eef3f9 0, #f4f7fb 320px); min-height: 100vh; }
html.is-embed body { background: transparent; min-height: 0; }

/* ---------- hlavička a päta (len samostatná stránka) ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1160px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: .375rem; text-decoration: none; }
.brand b { font-weight: 850; color: var(--red); font-size: 1.375rem; letter-spacing: -.02em; }
.brand span { font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
.topbar .sub { color: var(--muted); font-size: .875rem; font-weight: 500; padding-left: 16px; border-left: 1px solid var(--line); }
.topbar .spacer { flex: 1; }
.topbar .tel { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--navy); font-weight: 650; font-size: .9375rem;
  padding: .5rem .875rem; border-radius: var(--pill); background: var(--red-tint); }
.topbar .tel .ico-svg { color: var(--red); }
.footer { max-width: 1160px; margin: 48px auto 0; padding: 24px 20px 40px; color: var(--muted); font-size: .875rem;
  display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--line); }
.footer a { color: var(--muted); }

/* ---------- rozloženie ---------- */
.shell { max-width: 1160px; margin: 0 auto; padding: 36px 20px 24px; }
html.is-embed .shell { padding: 8px 4px 24px; }
html.is-embed .intro h1, html.is-embed .intro p { display: none; }
html.is-embed .intro { margin-bottom: 18px; }
.intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.intro h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.025em; }
.intro p { margin-top: .5rem; color: var(--muted); font-size: 1.0625rem; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; }
.perk { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: var(--pill); background: #fff;
  border: 1px solid var(--line); color: var(--text); font-size: .8125rem; font-weight: 600; }
.perk .ico-svg { width: 16px; height: 16px; color: var(--green); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.main { min-width: 0; }
.aside { position: sticky; top: 20px; }
html.is-embed .aside { position: static; }

/* ---------- kroky ---------- */
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; list-style: none; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.step-btn { display: inline-flex; align-items: center; gap: .625rem; background: none; border: 0; padding: 4px 6px 4px 4px; border-radius: var(--pill);
  color: var(--muted); font-weight: 600; font-size: .9375rem; cursor: default; }
.step-btn .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .875rem; font-weight: 700;
  background: #fff; border: 1.5px solid var(--line-2); color: var(--muted); flex: none; }
.step-btn .num .ico-svg { width: 16px; height: 16px; stroke-width: 2.4; }
.stepper li.current .step-btn { color: var(--navy); }
.stepper li.current .num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 14px -6px rgba(211, 20, 27, .7); }
.stepper li.done .step-btn { color: var(--navy); cursor: pointer; }
.stepper li.done .num { background: var(--red-tint); border-color: var(--red-tint-2); color: var(--red); }
.stepper li.done .step-btn:hover .label { text-decoration: underline; text-underline-offset: 3px; }
/* mobil: kroky ako záložky Vozidlo · Služby · Termín · Údaje (pripomienka 3) */
.stepper.tabs4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.stepper.tabs4 li { display: block; min-width: 0; }
.stepper.tabs4 .step-btn { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 8px 2px 7px; border-radius: 14px; font-size: .8125rem; }
.stepper.tabs4 .step-btn .num { width: 26px; height: 26px; font-size: .8125rem; }
.stepper.tabs4 .label { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.stepper.tabs4 li.current .step-btn { background: var(--red-tint); box-shadow: inset 0 -3px 0 var(--red); font-weight: 750; }
.stepper.tabs4 li.open .step-btn { color: var(--navy); cursor: pointer; }
.stepper.tabs4 li.open .num { border-color: var(--navy); color: var(--navy); }
.stepper.tabs4 li.todo .step-btn, .stepper.tabs4 li.todo .label { color: var(--subtle); }
.stepper.tabs4 li.todo .num { border-color: var(--line); color: var(--subtle); }
.stepper.tabs4 li.current .step-btn { cursor: default; }
.tab-hint { margin: -6px 0 12px; font-size: .875rem; color: var(--red); font-weight: 600; text-align: center; }
.help-card { margin-top: 16px; }
@media (min-width: 1041px) { .help-card { display: none; } }   /* počítač: pomoc a poznámka k cenám sú v súhrne vpravo */
.help-card .sum-note { margin: 0 4px 10px; }
.help-card .sum-help { margin-top: 0; background: #fff; border: 1px solid var(--line); }
/* fokus klávesnice nesmie ostať pod prilepenou lištou (WCAG 2.4.11; audit 1.4.0, A1): lišta ~105 px + prechod 32 px */
html.is-split:not(.is-embed) { scroll-padding-bottom: 140px; }
/* prilepené tlačidlo Pokračovať (SCHVÁLENÉ č. 2): len samostatná stránka – vo vložení v eshope ostáva na konci */
html.is-split:not(.is-embed) .actions.next-bar { position: sticky; bottom: 0; z-index: 5; flex-direction: column; gap: 6px;
  margin: 18px -16px -20px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff;
  border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; box-shadow: 0 -10px 24px -16px rgba(16, 38, 68, .35); }
html.is-split:not(.is-embed) .actions.next-bar .btn-ghost { display: none; }
/* tablet a počítač (SCHVÁLENÉ č. 6): lišta cez celú šírku panelu až k jeho spodku, obsah nad ňou postupne mizne */
@media (min-width: 761px) {
  html.is-split:not(.is-embed) .actions.next-bar { margin: 24px -28px -28px; padding: 12px 28px 16px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
  html.is-split:not(.is-embed) .actions.next-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -33px; height: 32px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
}
html.is-split:not(.is-embed) .actions.next-bar .hint { order: -1; text-align: center; }
@media (max-width: 359px) { .vehicles { grid-template-columns: minmax(0, 1fr) !important; } .vtile:last-child:nth-child(odd) { grid-column: auto; } }
.ctx-line { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2);
  border: 1px solid var(--line); font-size: .9375rem; color: var(--navy); }
.ctx-line > .ico-svg { color: var(--red); width: 22px; height: 22px; flex: none; }
.ctx-line > span { flex: 1; min-width: 0; }
.ctx-line .svc { display: block; font-size: .8125rem; color: var(--text); font-weight: 500; }
.ctx-line .link-btn { font-size: .875rem; flex: none; }
.no-mail { max-width: 560px; margin: 14px auto 0; text-align: left; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h2 { font-size: 1.25rem; font-weight: 750; }
.panel-head .eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .25rem; }
.panel-head p { color: var(--muted); font-size: .9375rem; margin-top: .25rem; }
.step-enter { animation: step-in .28s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-title:focus { outline: none; }

.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.actions .grow { flex: 1; }

/* ---------- vozidlá ---------- */
.vehicles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vtile { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center;
  padding: 18px 10px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease); }
@media (hover: hover) { .vtile:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); } }
.vtile .vico { width: 56px; height: 44px; display: grid; place-items: center; color: var(--navy); }
.vtile .vico .ico-svg { width: 48px; height: 48px; stroke-width: 1.35; }
.vtile .vname { font-weight: 700; color: var(--navy); font-size: .9375rem; line-height: 1.25; }
.vtile .vhint { font-size: .75rem; color: var(--muted); line-height: 1.35; }
.vtile[aria-checked="true"] { border-color: var(--red); background: var(--red-tint); box-shadow: 0 0 0 3px var(--red-ring); }
.vtile[aria-checked="true"] .vico { color: var(--red); }
.tick { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; transform: scale(0); transition: transform .15s var(--ease); }
.tick .ico-svg { width: 14px; height: 14px; stroke-width: 3; }
[aria-checked="true"] > .tick { transform: scale(1); }

/* ---------- služby ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stile { position: relative; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 16px 44px 16px 16px;
  border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease); }
@media (hover: hover) { .stile:hover:not(:disabled):not([aria-checked="true"]) { border-color: var(--line-2); box-shadow: var(--shadow); } }
.stile:disabled { cursor: not-allowed; opacity: .55; }
.stile .sico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--navy); display: grid; place-items: center; flex: none;
  transition: background-color .15s var(--ease), color .15s var(--ease); }
.stile .sbody { display: grid; gap: 4px; min-width: 0; }
.stile .sname { font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.stile .sdesc { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.stile .smeta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-size: .8125rem; font-weight: 600; color: var(--text); }
.stile .smeta span { display: inline-flex; align-items: center; gap: .3rem; }
.stile .smeta .ico-svg { width: 15px; height: 15px; color: var(--muted); }
.stile .smeta .price { color: var(--navy); }
.stile[aria-checked="true"] { border-color: var(--red); background: var(--red-tint); }
.stile[aria-checked="true"] .sico { background: #fff; color: var(--red); }
.subhead { display: flex; align-items: baseline; gap: .75rem; margin: 24px 0 12px; }
.subhead h3 { font-size: 1rem; font-weight: 700; }
.subhead span { color: var(--muted); font-size: .8125rem; }
.stile.addon { padding-top: 14px; padding-bottom: 14px; }
.stile.addon .sico { width: 38px; height: 38px; }
/* poznámka na dlaždici, keď je zvolená skupina (napr. vyváženie je už v cene prezutia aj výmeny) */
.stile .snote { display: inline-flex; align-items: flex-start; gap: .35rem; margin-top: 2px; color: #143f8a; font-size: .8125rem; font-weight: 600; }
.stile .snote .ico-svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* ---------- skupina služieb (1.3.0): rozbaľovacia dlaždica cez celú šírku ---------- */
.sgroup { grid-column: 1 / -1; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.sgroup.open { border-color: var(--red); }
@media (hover: hover) { .sgroup:not(.open):hover { border-color: var(--line-2); box-shadow: var(--shadow); } }
.sgroup-head { position: relative; display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px 84px 16px 16px;
  border: 0; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; border-radius: 0; }
.sgroup.open .sgroup-head { background: var(--red-tint); }
.sgroup-head .sico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); color: var(--navy); display: grid; place-items: center; flex: none; }
.sgroup.open .sgroup-head .sico { background: #fff; color: var(--red); }
.sgroup-head .sbody { display: grid; gap: 4px; min-width: 0; }
.sgroup-head .sname { font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.sgroup-head .sdesc { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.sgroup-head .smeta, .ctext .smeta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-size: .8125rem; font-weight: 600; color: var(--text); }
.sgroup-head .smeta span, .ctext .smeta span { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.sgroup-head .smeta .ico-svg, .ctext .smeta .ico-svg { width: 15px; height: 15px; color: var(--muted); }
.ctext .smeta .price { color: var(--navy); }
.sgroup-body { padding: 16px; border-top: 1px solid #f2c7ca; display: grid; gap: 14px; }
.sgroup-body.enter { animation: group-in .2s var(--ease); }
@keyframes group-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.gq { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }
.gq.small { font-size: .9375rem; margin-top: 4px; }
.choice-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.copt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line);
  text-align: left; cursor: pointer; font: inherit; color: inherit; width: 100%; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
@media (hover: hover) { .copt:hover:not(.on) { border-color: var(--line-2); } }
.copt.on { border-color: var(--red); background: var(--red-tint); }
.copt .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--control); background: #fff; flex: none; margin-top: 2px; }
.copt.on .radio { border: 6px solid var(--red); }
.ctext { display: grid; gap: 3px; min-width: 0; }
.ctext b { color: var(--navy); }
.ctext .cdesc { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.copt .cico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); color: var(--navy); display: grid; place-items: center; margin-bottom: 6px; }
.copt .cico .ico-svg { width: 24px; height: 24px; }
.copt.on .cico { background: #fff; color: var(--red); }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s var(--ease); }
@media (hover: hover) { .opt-row:hover { border-color: var(--line-2); } }
.otext { display: grid; gap: 2px; flex: 1; min-width: 0; }
.otext b { color: var(--navy); font-weight: 650; }
.otext span { color: var(--muted); font-size: .875rem; }
.oprice { font-weight: 700; color: var(--navy); font-size: .875rem; white-space: nowrap; }
.obox { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--control); background: #fff; display: grid; place-items: center; flex: none; color: #fff;
  transition: background-color .12s var(--ease), border-color .12s var(--ease); }
.obox .ico-svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.opt-row.on .obox { background: var(--red); border-color: var(--red); }
.opt-row.on .obox .ico-svg { opacity: 1; }
.gextras { display: grid; gap: 8px; }
/* jeden stĺpec, ktorý sa zmestí do dlaždice (inak by cena „37 € / sezóna" roztiahla stĺpec a obsah by sa orezal) */
.sgroup-body, .gextras { grid-template-columns: minmax(0, 1fr); }
.note-field { margin-top: 18px; }


/* ---------- termín ---------- */
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.quick .label { width: 100%; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qchip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; padding: .625rem 1rem; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; text-align: left; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
@media (hover: hover) { .qchip:hover { border-color: var(--red); box-shadow: var(--shadow); } }
.qchip b { color: var(--navy); font-weight: 700; font-size: .9375rem; }
.qchip span { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.qchip.is-selected { border-color: var(--red); background: var(--red-tint); }

.when { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cal { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h3 { font-size: 1rem; font-weight: 700; }
.icon-btn { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center;
  cursor: pointer; color: var(--navy); transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.icon-btn:hover:not(:disabled) { background: var(--surface-2); border-color: var(--line-2); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0 6px; }
.cal-day { position: relative; height: 44px; border-radius: 12px; border: 1px solid transparent; background: none; font-weight: 600; font-size: .9375rem;
  color: var(--navy); cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .12s var(--ease), border-color .12s var(--ease), color .12s var(--ease); }
.cal-day.avail { background: var(--surface-2); border-color: var(--line); }
@media (hover: hover) { .cal-day.avail:not(.is-selected):hover { border-color: var(--red); color: var(--red); background: #fff; } }
.cal-day:disabled { color: #b3bfcf; cursor: default; font-weight: 500; }
.cal-day.today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--muted); }
.cal-day.few::before { content: ''; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #b45309; }
.cal-day.is-selected { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 18px -10px rgba(211, 20, 27, .8); }
.cal-day.is-selected::after { background: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .75rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: .375rem; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-legend .l-av { background: var(--surface-2); border: 1px solid var(--line); }
.cal-legend .l-few { width: 7px; height: 7px; border-radius: 50%; background: #b45309; }

.slots { border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 18px; background: #fff; min-height: 100%; }
.slots h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.slots .sub { color: var(--muted); font-size: .8125rem; margin-bottom: 14px; }
.slot-group + .slot-group { margin-top: 14px; }
.slot-group .gl { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.chip { height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 650; font-size: .9375rem; color: var(--navy);
  cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .12s var(--ease), color .12s var(--ease), background-color .12s var(--ease); }
@media (hover: hover) { .chip:not(.is-selected):hover { border-color: var(--red); color: var(--red); } }
.chip.is-selected { background: var(--red); border-color: var(--red); color: #fff; }
.slots-empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 28px 8px; color: var(--muted); font-size: .9375rem; }
.slots-empty .ico-svg { width: 32px; height: 32px; color: var(--subtle); }

.skel { background: linear-gradient(90deg, #eef2f7 0%, #f7f9fc 50%, #eef2f7 100%); background-size: 200% 100%; animation: shimmer 1.2s ease-in-out infinite; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- údaje ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.section-title { display: flex; align-items: center; gap: .625rem; font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 14px; }
.section-title .ico-svg { color: var(--red); width: 20px; height: 20px; }
.form-sep { height: 1px; background: var(--line); margin: 26px 0 22px; border: 0; }
.rims { display: flex; flex-wrap: wrap; gap: 8px; }
.rims button { min-height: 40px; padding: 0 .875rem; border-radius: 11px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; color: var(--navy); cursor: pointer; font-size: .9375rem; }
@media (hover: hover) { .rims button:hover { border-color: var(--red); } }
.rims button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.checks { display: grid; gap: 6px; }
.privacy { font-size: .8125rem; color: var(--muted); line-height: 1.55; margin-top: 10px; }
.rules { list-style: none; margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); display: grid; gap: 6px;
  font-size: .875rem; color: var(--text); }
.rules li { display: flex; gap: .5rem; align-items: flex-start; }
.rules .ico-svg { color: var(--green); margin-top: 3px; }
.email-hint { font-size: .875rem; color: var(--text); }
.term-line { display: none; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -4px 0 20px; padding: 12px 14px; border-radius: 14px;
  background: var(--red-tint); color: var(--navy); font-weight: 650; font-size: .9375rem; }
.term-line .ico-svg { color: var(--red); }
.term-line .svc { font-weight: 500; color: var(--text); font-size: .875rem; }
.term-line .link-btn { margin-left: auto; font-size: .875rem; }
.no-slot { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 12px 12px; }
.no-slot .ico-svg { width: 40px; height: 40px; color: var(--subtle); }
.no-slot h3 { font-size: 1.125rem; }
.no-slot p { color: var(--text); max-width: 460px; }
.no-slot a { font-weight: 700; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 20px; }
.form-alert ul { margin: .375rem 0 0; padding-left: 1.125rem; }
.form-alert a { color: inherit; font-weight: 600; }

/* ---------- súhrn ---------- */
.summary { padding: 22px; }
.summary h2 { font-size: 1.0625rem; font-weight: 750; margin-bottom: 14px; }
.sum-row { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sum-row:first-of-type { border-top: 0; padding-top: 0; }
.sum-row > div { flex: 1; min-width: 0; }
.sum-row > .ico-svg { color: var(--muted); width: 20px; height: 20px; margin-top: 2px; }
.sum-row .k { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sum-row .v { color: var(--navy); font-weight: 600; font-size: .9375rem; line-height: 1.45; }
.sum-row .v.muted { color: var(--muted); font-weight: 500; }
.sum-row .edit { margin-left: auto; align-self: flex-start; font-size: .8125rem; }
.sum-items { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; }
.sum-items li { display: flex; justify-content: space-between; gap: 10px; font-size: .9375rem; color: var(--navy); font-weight: 600; }
.sum-items li small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; }
.sum-items .p { white-space: nowrap; color: var(--text); font-weight: 600; font-size: .875rem; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2);
  font-size: .875rem; color: var(--muted); font-weight: 600; }
.sum-total b { color: var(--navy); font-size: 1rem; }
.sum-note { margin-top: 14px; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.sum-help { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--surface-2); font-size: .8125rem; color: var(--text); display: flex; gap: 10px; }
.sum-help .ico-svg { color: var(--red); width: 18px; height: 18px; margin-top: 1px; }
.sum-help a { color: var(--navy); font-weight: 700; text-decoration: none; }
.cal-day.is-selected:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- hotovo / správa rezervácie ---------- */
.done-view { text-align: center; padding: 40px 28px 32px; }
.done-mark { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center;
  animation: pop-in .35s var(--ease); }
.done-mark .ico-svg { width: 40px; height: 40px; stroke-width: 2.2; }
.done-mark.pending { background: var(--amber-tint); color: var(--amber); }
.done-view h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.done-view .lead { color: var(--muted); font-size: 1.0625rem; margin: .5rem auto 0; max-width: 520px; }
.ticket { margin: 28px auto 0; max-width: 560px; text-align: left; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; background: var(--surface-2); border-bottom: 1px dashed var(--line-2); }
.ticket-top .when-big { font-size: 1.1875rem; font-weight: 800; color: var(--navy); line-height: 1.3; }
.ticket-top .when-big small { display: block; font-size: .875rem; font-weight: 600; color: var(--muted); }
.ticket-code { text-align: right; font-size: .75rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ticket-code b { display: block; font-size: 1.125rem; letter-spacing: .12em; color: var(--navy); font-variant-numeric: tabular-nums; }
.ticket-body { padding: 6px 20px 8px; }
.ticket-body .sum-row:first-of-type { border-top: 0; padding-top: 12px; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.tips { margin: 28px auto 0; max-width: 560px; text-align: left; padding: 18px 20px; border-radius: 18px; background: var(--amber-tint); border: 1px solid #f6e3c3; }
.tips h2 { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; color: #7a3a05; margin-bottom: 8px; }
.tips ul { margin: 0; padding-left: 1.125rem; color: #6b3a10; font-size: .9375rem; display: grid; gap: 4px; }
.manage-wrap { max-width: 800px; margin: 0 auto; }
.manage-wrap .ticket { max-width: none; }
.manage-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.manage-head h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.manage-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.center-msg { text-align: center; padding: 56px 24px; display: grid; justify-items: center; gap: 12px; }
.center-msg .ico-svg { width: 40px; height: 40px; color: var(--subtle); }
.center-msg h1 { font-size: 1.5rem; }
.center-msg p { color: var(--muted); max-width: 460px; }

/* ---------- responzívne ---------- */
@media (max-width: 1040px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { display: none; }
  .term-line { display: flex; }
  .vehicles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { padding: 20px 16px 16px; }
  html.is-embed .shell { padding: 4px 0 16px; }
  .intro { margin-bottom: 20px; }
  .seg button { padding: .5rem .75rem; }
  .intro h1 { font-size: 1.625rem; }
  .intro p { font-size: 1rem; }
  .panel { padding: 20px 16px; border-radius: 20px; }
  .vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vtile { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 4px 12px; padding: 14px 36px 14px 12px; }
  .vtile .vico { grid-row: span 2; width: 44px; height: 36px; }
  .vtile .vico .ico-svg { width: 38px; height: 38px; }
  .vtile .vhint { display: none; }
  .vtile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tick { top: 50%; margin-top: -11px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .choice-opts { grid-template-columns: minmax(0, 1fr); }
  .sgroup-head { padding-right: 76px; }
  .opt-row { align-items: flex-start; }
  .opt-row .oprice { margin-top: 2px; }
  .when { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar .sub { display: none; }
  .topbar .tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .actions .btn { width: 100%; }
  .done-view { padding: 28px 16px 24px; }
  .done-view h1, .manage-head h1 { font-size: 1.4375rem; }
  .ticket-top { flex-direction: column; align-items: flex-start; }
  .ticket-code { text-align: left; }
  .done-actions .btn { flex: 1 1 100%; }
}

/* ===== výber služby – variant B (pripomienka 6, Pavol 16. 10. 2026, SCHVÁLENÉ č. 13) =====
   Stav slovom „Vybrať“ / „Vybrané“ namiesto štvorčeka; po ťuknutí na skupinu sa popis zbalí, „Vybrané“ až po odpovedi. */
.stile, .sgroup-head { padding-right: 16px; }
.stile .sbody, .sgroup-head .sbody { flex: 1; }
.stile .smeta, .sgroup-head .smeta { align-items: center; }
.pick { margin-left: auto; display: inline-flex !important; align-items: center; justify-content: center; gap: .3rem; min-width: 6.9rem;
  padding: .32rem .75rem .32rem .6rem; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 700; font-size: .8125rem; white-space: nowrap; }
.pick .ico-svg { width: 14px !important; height: 14px !important; color: inherit !important; stroke-width: 2.6; }
.pick.on { background: var(--red); border-color: var(--red); color: #fff; }
.stile[aria-checked="true"] { border-color: var(--red); background: var(--red-tint-2); box-shadow: 0 0 0 1.5px var(--red); }
.stile[aria-checked="true"] .sdesc { color: var(--text); }
.sgroup.open { box-shadow: 0 0 0 1.5px var(--red); }
.sgroup.open .sgroup-head { background: var(--red-tint-2); }
.sgroup.open .sgroup-head .sdesc { color: var(--text); }
.sgroup-head .sdesc.chosen { color: var(--navy); font-weight: 650; }
.sgroup.open.asking { box-shadow: none; }
.sgroup.open.asking .sgroup-head { background: #fff; padding-bottom: 10px; }
.sgroup.open.asking .sgroup-body { border-top-color: var(--line); padding-top: 4px; }
.sgroup.open.asking .smeta { margin-top: 0; }
.ask-line { display: inline-flex !important; align-items: center; gap: .3rem; color: var(--red); font-weight: 700; font-size: .875rem; }
/* na úzkom telefóne (320 px) sa riadok zalomí, inak by vytlačil názov z dlaždice (e2e test_group_fits_on_a_small_phone) */
.sgroup-head .smeta .ask-line { white-space: normal; }
.ask-line .ico-svg { flex: none; }
.ask-line .ico-svg { width: 16px !important; height: 16px !important; color: var(--red) !important; }
.hint-warn { color: var(--red) !important; font-weight: 700; }
.count.warn { background: var(--red) !important; color: #fff !important; }
