/* Kroky — silný fallback aby sa ukázala VŽDY iba aktívna sekcia */
.lsk-panel[hidden] { display: none !important; }
.lsk-wrap [hidden] { display: none !important; }
/* Téma (BeTheme) štýluje tlačidlá veľkými písmenami a rozostupmi — vo formulári to rušíme */
.lsk-wrap button { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-transform: none; letter-spacing: normal; line-height: 1.2; margin: 0; }
.lsk-wrap .lsk-btn, .lsk-wrap .lsk-btn-ghost { font-size: 15px; padding: 12px 22px; }
.lsk-form .lsk-panel:not([data-s="1"]) { display: none; }
.lsk-form .lsk-panel:not([hidden]) { display: block !important; }

.lsk-wrap { max-width: 900px; margin: 20px auto; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0f172a; }
.lsk-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; font-size: 12px; }
.lsk-step { padding: 6px 10px; border-radius: 16px; background: #f1f5f9; color: #64748b; }
.lsk-step.is-active { background: #16a34a; color: #fff; }
.lsk-step.is-done { background: #dcfce7; color: #166534; }

.lsk-panel { padding: 18px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 14px; }
.lsk-panel h3 { margin: 0 0 12px 0; color: #0f172a; }
.lsk-panel h4 { margin: 16px 0 8px 0; }
.lsk-panel label { display: block; margin: 10px 0; font-weight: 600; font-size: 14px; color: #334155; }
.lsk-panel input[type=text], .lsk-panel input[type=email], .lsk-panel input[type=tel],
.lsk-panel input[type=number], .lsk-panel input[type=date], .lsk-panel select, .lsk-panel textarea {
    display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 15px; box-sizing: border-box; font-weight: 400; background: #fff;
}
.lsk-panel textarea { min-height: 60px; }
.lsk-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lsk-row label { flex: 1; min-width: 180px; }

.lsk-btn { background: #16a34a; color: #fff; border: 0; padding: 12px 22px; border-radius: 8px; font-size: 15px; cursor: pointer; font-weight: 600; }
.lsk-btn:hover { background: #15803d; }
.lsk-btn-ghost { background: #fff; color: #334155; border: 1px solid #cbd5e1; padding: 12px 22px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.lsk-btn-ghost:hover { background: #f1f5f9; }
.lsk-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }

.lsk-muted { color: #64748b; font-size: 13px; }
.lsk-check { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.lsk-check input { width: auto !important; }

.lsk-pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 10px; }
.lsk-pkg { position: relative; padding: 14px; background: #fff; border: 2px solid #e5e7eb; border-radius: 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s; display: block; font-weight: 400; }
.lsk-pkg:hover { border-color: #16a34a; box-shadow: 0 4px 12px rgba(22,163,74,.15); }
.lsk-pkg input[type=radio] { position: absolute; top: 12px; right: 12px; }
.lsk-pkg:has(input:checked) { border-color: #16a34a; background: #f0fdf4; }
.lsk-pkg strong { display: block; font-size: 16px; margin-bottom: 4px; padding-right: 24px; }
.lsk-pkg .lsk-price { display: block; font-size: 18px; font-weight: 700; color: #16a34a; margin-bottom: 6px; }
.lsk-pkg em { display: block; font-style: normal; color: #64748b; font-size: 13px; margin-bottom: 6px; }
.lsk-pkg small { color: #94a3b8; font-size: 12px; }
.lsk-badge { display: inline-block; background: #f97316; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; font-weight: 700; letter-spacing: .04em; }

.lsk-slots { margin: 14px 0; }
.lsk-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
/* Čas „08:00 – 10:30“ vždy v jednom riadku, rovnako veľké čísla, zarovnané */
.lsk-wrap .lsk-slot {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0; padding: 12px 10px; min-height: 0; height: auto; width: 100%;
    border: 2px solid #cbd5e1; background: #fff; color: #0f172a; border-radius: 8px;
    font: 600 17px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none;
    white-space: nowrap; text-align: center; cursor: pointer; box-shadow: none;
}
.lsk-wrap .lsk-slot span { display: inline; font: inherit; color: inherit; }
.lsk-wrap .lsk-slot .lsk-slot-dash { color: #94a3b8; font-weight: 400; }
.lsk-wrap .lsk-slot:hover { border-color: #16a34a; background: #f0fdf4; }
.lsk-wrap .lsk-slot.is-taken { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.lsk-wrap .lsk-slot.is-selected { background: #16a34a; color: #fff; border-color: #16a34a; }
.lsk-wrap .lsk-slot.is-selected .lsk-slot-dash { color: #dcfce7; }
.lsk-note-peak { padding: 10px 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; color: #9a3412; font-size: 13px; margin-top: 10px; }

.lsk-summary { padding: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin: 16px 0; }
.lsk-summary table { width: 100%; font-size: 14px; }
.lsk-summary th { text-align: left; padding: 4px 8px 4px 0; color: #64748b; font-weight: 500; }
.lsk-summary td { text-align: right; padding: 4px 0; font-weight: 600; }
.lsk-summary tr.lsk-total td, .lsk-summary tr.lsk-total th { font-size: 16px; padding-top: 8px; border-top: 1px solid #e5e7eb; }
.lsk-summary tr.lsk-highlight th, .lsk-summary tr.lsk-highlight td { color: #16a34a; }

.lsk-payment { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.lsk-payopt { padding: 14px; background: #fff; border: 2px solid #e5e7eb; border-radius: 10px; cursor: pointer; font-weight: 400 !important; }
.lsk-payopt:has(input:checked) { border-color: #16a34a; background: #f0fdf4; }
.lsk-payopt strong { display: block; margin-bottom: 4px; }
.lsk-payopt em { font-style: normal; color: #64748b; font-size: 13px; }

.lsk-invoice { padding: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-top: 10px; }

.lsk-done h2 { color: #16a34a; }
.lsk-summary-final { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.lsk-summary-final table { width: 100%; font-size: 14px; }
.lsk-summary-final th { text-align: left; padding: 6px 12px 6px 0; color: #64748b; font-weight: 500; vertical-align: top; }
.lsk-summary-final td { padding: 6px 0; }
.lsk-summary-final tr.lsk-highlight th, .lsk-summary-final tr.lsk-highlight td { color: #16a34a; font-size: 16px; }
.lsk-qr { padding: 16px; background: #f8fafc; border-radius: 10px; }
.lsk-qr #lsk_qr { display: flex; justify-content: center; padding: 10px 0; }
.lsk-qr canvas, .lsk-qr img { max-width: 100%; }
.lsk-paydata { width: 100%; margin-top: 12px; font-size: 13px; }
.lsk-paydata th { text-align: left; padding: 3px 6px 3px 0; color: #64748b; font-weight: 500; }
.lsk-paydata td { padding: 3px 0; }

/* Intro */
.lsk-intro { padding: 20px 24px; background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-radius: 12px; margin-bottom: 16px; border: 1px solid #86efac; }
.lsk-intro h2 { margin: 0 0 8px; color: #14532d; }
.lsk-intro p { margin: 0; color: #166534; }

/* Autocomplete škôl */
.lsk-suggest { position: relative; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; margin-top: 4px; max-height: 240px; overflow: auto; box-shadow: 0 4px 12px rgba(0,0,0,.06); z-index: 5; }
.lsk-suggest:empty { display: none; }
.lsk-sugg-item { padding: 8px 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lsk-sugg-item:hover { background: #f0fdf4; }
.lsk-sugg-item em { font-style: normal; color: #16a34a; font-size: 12px; }

/* ANO/NIE prepínač */
.lsk-yesno { display: flex; gap: 10px; margin: 10px 0; }
.lsk-yesno-opt { flex: 1; padding: 14px; text-align: center; background: #fff; border: 2px solid #e5e7eb; border-radius: 10px; cursor: pointer; font-weight: 600; }
.lsk-yesno-opt:has(input:checked) { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.lsk-yesno-opt input { display: none; }

/* Intolerance checks */
.lsk-int-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px; margin: 8px 0; }
.lsk-int-checks label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; font-weight: 400; cursor: pointer; }

/* Galéria pod formulárom (3-5 v riadku responzívne) */
.lsk-gallery { max-width: 1100px; margin: 24px auto; padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.lsk-gallery h3 { margin: 0 0 14px; color: #0f172a; }
.lsk-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.lsk-gallery-item { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; background: #f1f5f9; transition: transform .15s, box-shadow .15s; }
.lsk-gallery-item:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.lsk-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Krajšie vizuálne detaily */
.lsk-panel { transition: opacity .2s; }
.lsk-btn:hover { transform: translateY(-1px); }
.lsk-pkg { transition: all .2s; }
.lsk-pkg:not([hidden]):hover { transform: translateY(-2px); }

/* Vysvetlivka pri každom kroku */
.lsk-help { margin: 0 0 14px; padding: 10px 14px; background: #eff6ff; border-left: 4px solid #3b82f6; border-radius: 6px; color: #1e3a8a; font-size: 14px; line-height: 1.5; }
.lsk-label { margin: 14px 0 6px; font-weight: 600; font-size: 14px; color: #334155; }
.lsk-err { margin: 10px 0 0; padding: 8px 12px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; color: #991b1b; font-size: 14px; }

/* Klikacie voľby (typ školy, ročník, obed, menu) */
.lsk-choice { display: grid; gap: 8px; margin: 0 0 6px; }
.lsk-choice-2 { grid-template-columns: repeat(2, 1fr); }
.lsk-choice-3 { grid-template-columns: repeat(3, 1fr); }
.lsk-choice-grades { grid-template-columns: repeat(9, 1fr); }
.lsk-choice-menu { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.lsk-panel label.lsk-opt { position: relative; display: flex; align-items: center; justify-content: center; margin: 0; padding: 12px 10px; text-align: center; background: #fff; border: 2px solid #e5e7eb; border-radius: 10px; cursor: pointer; font-weight: 600; color: #334155; transition: border-color .15s, background .15s; }
.lsk-panel label.lsk-opt:hover { border-color: #16a34a; }
.lsk-panel label.lsk-opt:has(input:checked) { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.lsk-opt input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.lsk-choice-grades label.lsk-opt { padding: 10px 0; font-size: 16px; }

/* Balíky — čo deti čaká */
.lsk-pkg .lsk-age { display: inline-block; margin-bottom: 6px; padding: 2px 8px; background: #eef2ff; color: #3730a3; border-radius: 10px; font-size: 12px; font-weight: 600; }
.lsk-pkg .lsk-pkg-total { display: block; margin: -2px 0 6px; font-size: 13px; color: #166534; font-weight: 600; }
.lsk-pkg .lsk-pkg-total:empty { display: none; }
.lsk-contains { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; color: #334155; }
.lsk-contains li { margin: 2px 0; padding-left: 20px; position: relative; }
.lsk-contains li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 700; }

.lsk-pizza { margin-top: 16px; padding-top: 12px; border-top: 1px dashed #cbd5e1; }
.lsk-pizza input { max-width: 140px; }

@media (max-width: 640px) {
    .lsk-choice-3 { grid-template-columns: 1fr; }
    .lsk-choice-grades { grid-template-columns: repeat(5, 1fr); }
    .lsk-slot-grid { grid-template-columns: repeat(2, 1fr); }
    .lsk-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lsk-wrap { margin: 10px; padding: 16px; }
    .lsk-summary-final, .lsk-payment { grid-template-columns: 1fr; }
    .lsk-actions { flex-direction: column-reverse; }
    .lsk-actions button { width: 100%; }
}
