/* Szerviz időpontfoglaló – a JászMotor sablon változóit használja, más sablon alatt saját alapértékekkel. */
.sb-page, .sb-app {
    --sb-accent: var(--jm-accent, #ffee00); --sb-accent-fg: var(--jm-accent-fg, var(--sb-accent));
    --sb-accent-ink: var(--jm-accent-ink, #0a0a0b);
    --sb-bg: var(--jm-bg, #0a0a0b);
    --sb-surface: var(--jm-surface, #141416);
    --sb-surface-2: var(--jm-surface-2, #1d1d20);
    --sb-line: var(--jm-line, #2a2a2e);
    --sb-text: var(--jm-text, #f5f5f2);
    --sb-muted: var(--jm-muted, #a1a1a6);
    --sb-danger: var(--jm-sale, #ff4d3d);
    --sb-ok: var(--jm-success, #4ade80);
    --sb-font-display: var(--heading-font, "Bebas Neue"), "Arial Narrow", Impact, sans-serif;
    --sb-font-cond: var(--condensed-font, "Barlow Condensed"), "Arial Narrow", sans-serif;
    color: var(--sb-text);
}
.sb-page { max-width: 760px; margin: 0 auto; padding: 24px 0 48px; }
.sb-page__head { margin-bottom: 18px; }
.sb-page__title { font-family: var(--sb-font-display); font-weight: 400; font-size: clamp(38px, 7vw, 60px); line-height: .95; margin: 0 0 12px; }
.sb-page__intro { color: var(--sb-muted); }
.sb-app svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.sb-progress { display: flex; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; counter-reset: s; overflow-x: auto; scrollbar-width: none; }
.sb-progress li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--sb-muted); }
.sb-progress li::before { content: ""; height: 4px; border-radius: 2px; background: var(--sb-line); }
.sb-progress li.is-done::before, .sb-progress li.is-current::before { background: var(--sb-accent); }
.sb-progress span { display: none; }
.sb-progress em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-progress li.is-current em { color: var(--sb-text); font-weight: 600; }
@media (max-width: 575.98px) { .sb-progress em { display: none; } .sb-progress li.is-current em { display: block; } .sb-progress li.is-current { flex: 3 1 0; } }

.sb-card { background: var(--sb-surface); border: 1px solid var(--sb-line); border-radius: 18px; padding: 18px; }
@media (min-width: 768px) { .sb-card { padding: 26px 28px; } }
.sb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sb-title { margin: 0; font-family: var(--sb-font-cond); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; outline: none; }
.sb-subtitle { font-size: 16px; font-weight: 600; margin: 18px 0 10px; }
.sb-muted { color: var(--sb-muted); }
.sb-loading { padding: 24px 0; text-align: center; color: var(--sb-muted); }

.sb-iconbtn { width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--sb-line); background: var(--sb-bg); color: var(--sb-text); cursor: pointer; }
.sb-iconbtn:hover:not(:disabled) { border-color: var(--sb-accent); color: var(--sb-accent-fg); }
.sb-iconbtn:disabled { opacity: .35; cursor: default; }

.sb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px;
    border: 1.5px solid var(--sb-line); background: transparent; color: var(--sb-text); cursor: pointer; text-decoration: none;
    font: 700 17px var(--sb-font-cond); letter-spacing: .8px; text-transform: uppercase;
}
.sb-btn--primary { background: var(--sb-accent); border-color: var(--sb-accent); color: var(--sb-accent-ink); }
.sb-btn--primary:hover { color: var(--sb-accent-ink); filter: brightness(1.05); }
.sb-btn--danger { background: var(--sb-danger); border-color: var(--sb-danger); color: #fff; }
.sb-btn--lg { min-height: 56px; width: 100%; font-size: 19px; }
.sb-btn:disabled { opacity: .5; cursor: default; }
.sb-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
@media (max-width: 575.98px) { .sb-actions .sb-btn { width: 100%; } }
.sb-link { background: none; border: 0; padding: 4px 0; color: var(--sb-accent-fg); font-size: 14px; font-weight: 600; cursor: pointer; }

.sb-alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 77, 61, .12); border: 1px solid rgba(255, 77, 61, .4); font-size: 14px; }
.sb-alert--ok { background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .4); }
.sb-notice-box, .sb-notice { color: var(--sb-accent-fg); }
.sb-notice-box { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--sb-accent); font-size: 14px; font-weight: 600; }

.sb-list { display: flex; flex-direction: column; gap: 10px; }
.sb-option {
    width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left; cursor: pointer;
    background: var(--sb-bg); color: var(--sb-text); border: 1px solid var(--sb-line); border-radius: 14px; transition: border-color .15s, transform .15s;
}
.sb-option:hover { border-color: var(--sb-accent); transform: translateY(-1px); }
.sb-option__icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 238, 0, .1); color: var(--sb-accent-fg); }
.sb-option__icon svg { width: 22px; height: 22px; }
.sb-option__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sb-option__body b { font-size: 16px; line-height: 1.3; }
.sb-option__body small { font-size: 13px; color: var(--sb-muted); }
.sb-option__go { color: var(--sb-muted); }
.sb-service { display: flex; flex-direction: column; }
.sb-service > .sb-link { align-self: flex-start; margin: 4px 0 0 74px; }
.sb-details { margin: 8px 0 4px 74px; padding: 12px 14px; border-left: 2px solid var(--sb-accent); font-size: 14px; color: #d4d4d8; }
.sb-details p { margin: 0 0 6px; }
@media (max-width: 575.98px) { .sb-service > .sb-link, .sb-details { margin-left: 0; } }

.sb-selected { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: var(--sb-bg); border: 1px solid var(--sb-line); }
.sb-selected__icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--sb-accent); color: var(--sb-accent-ink); display: flex; align-items: center; justify-content: center; }
.sb-selected > div:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sb-selected b { font-size: 15px; }
.sb-selected span { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--sb-muted); }
.sb-selected span svg { width: 15px; height: 15px; }
.sb-selected__when { color: var(--sb-accent-fg) !important; font-weight: 600; }

.sb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sb-cal__head strong { font-family: var(--sb-font-cond); font-size: 20px; text-transform: uppercase; }
.sb-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sb-cal__dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--sb-muted); padding-bottom: 4px; }
.sb-cal__day { aspect-ratio: 1; min-height: 40px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--jm-dim); font-weight: 600; font-size: 15px; }
.sb-cal__day.has-slots { color: var(--sb-text); background: var(--sb-bg); border-color: var(--sb-line); cursor: pointer; }
.sb-cal__day.has-slots:hover { border-color: var(--sb-accent); }
.sb-cal__day.is-selected { background: var(--sb-accent); border-color: var(--sb-accent); color: var(--sb-accent-ink); }

.sb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.sb-slot { min-height: 46px; border-radius: 10px; border: 1px solid var(--sb-line); background: var(--sb-bg); color: var(--sb-text); font-weight: 700; font-size: 16px; cursor: pointer; }
.sb-slot:hover { border-color: var(--sb-accent); }
.sb-slot.is-selected { background: var(--sb-accent); border-color: var(--sb-accent); color: var(--sb-accent-ink); }

.sb-form { display: flex; flex-direction: column; gap: 14px; }
.sb-field { display: flex; flex-direction: column; gap: 6px; }
.sb-label { font-size: 14px; font-weight: 600; }
.sb-form input[type="text"], .sb-form input[type="email"], .sb-form input[type="tel"], .sb-form textarea {
    width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--sb-line); background: var(--sb-bg); color: var(--sb-text); font: inherit; font-size: 16px;
}
.sb-form textarea { min-height: 90px; resize: vertical; }
.sb-form input:focus, .sb-form textarea:focus { outline: none; border-color: var(--sb-accent); box-shadow: 0 0 0 3px rgba(255, 238, 0, .18); }
.sb-field.has-error input, .sb-field.has-error textarea { border-color: var(--sb-danger); }
.sb-error { color: var(--sb-danger); font-size: 13px; }
.sb-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-choice { position: relative; cursor: pointer; }
.sb-choice input { position: absolute; opacity: 0; }
.sb-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--sb-line); background: var(--sb-bg); font-weight: 600; }
.sb-choice input:checked + span { border: 2px solid var(--sb-accent); background: rgba(255, 238, 0, .08); }
.sb-choice input:focus-visible + span { outline: 2px solid var(--sb-accent); outline-offset: 2px; }
.sb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sb-review { margin: 0; display: flex; flex-direction: column; }
.sb-review > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sb-line); }
.sb-review dt { color: var(--sb-muted); font-size: 14px; font-weight: 500; }
.sb-review dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .sb-review > div { grid-template-columns: 1fr; gap: 2px; } }
.sb-terms { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; font-size: 14px; cursor: pointer; }
.sb-terms input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sb-accent); flex: 0 0 20px; }
.sb-terms a { color: var(--sb-accent-fg); text-decoration: underline; }
.sb-terms.has-error span { color: var(--sb-danger); }

.sb-done { text-align: center; }
.sb-done__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--sb-ok); color: #0a0a0b; display: flex; align-items: center; justify-content: center; }
.sb-done__icon svg { width: 32px; height: 32px; stroke-width: 3; }
.sb-done__text { font-size: 16px; margin: 0 auto 16px; max-width: 34em; }
.sb-done .sb-review { text-align: left; }
.sb-done .sb-actions { justify-content: center; }

.sb-summary { display: flex; flex-direction: column; margin-bottom: 16px; }
.sb-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sb-line); font-size: 15px; }
.sb-summary__row span { color: var(--sb-muted); }
.sb-cancel-form p { margin: 0 0 14px; }

/* Ajánlott termékek a sikeres foglalás után */
.sb-products { margin: 22px 0 6px; text-align: left; }
.sb-products__title { margin: 0 0 2px; font-size: 18px; }
.sb-products__lead { margin: 0 0 12px; color: var(--sb-muted); font-size: 14px; }
.sb-products__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sb-product { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--sb-line); border-radius: 14px; background: var(--sb-bg); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.sb-product:hover { border-color: var(--sb-accent); transform: translateY(-1px); color: inherit; }
.sb-product__img { flex: 0 0 60px; height: 60px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sb-product__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sb-product__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sb-product__name { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sb-product__meta { font-size: 13px; color: var(--sb-muted); }
.sb-product__meta b { color: var(--sb-accent-fg); font-weight: 700; }
.sb-product__meta em { font-style: normal; color: #ff6b5e; }

.sb-bundle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--sb-accent); background: var(--sb-bg); flex-wrap: wrap; }
.sb-bundle__text { display: flex; flex-direction: column; gap: 2px; }
.sb-bundle__text small { color: var(--sb-muted); }
.sb-bundle__text em { font-style: normal; color: var(--sb-accent-fg); font-weight: 700; }
