/* Formularz „Chcę gotową ofertę” — samodzielne style (działają też w wersji osadzonej bez motywu strony). */
.sw-of {
	--of-primary: #0088d1;
	--of-primary-dark: #0072b0;
	--of-pink: #fd36b7;
	--of-ink: #0d1b24;
	--of-text: #2e3f4a;
	--of-muted: #5a6b76;
	--of-line: #e2eaef;
	--of-soft: #f3f7fa;
	--of-err: #c0392b;
	box-sizing: border-box;
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 2px 4px rgba(13, 27, 36, .05), 0 16px 40px rgba(13, 27, 36, .10);
	padding: 28px;
	font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: var(--of-text);
}
.sw-of *, .sw-of *::before, .sw-of *::after { box-sizing: border-box; }
.sw-of__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sw-of__step { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.sw-of__step + .sw-of__step { border-top: 1px solid var(--of-line); padding-top: 22px; }
.sw-of.is-js .sw-of__step + .sw-of__step { border-top: 0; padding-top: 0; }
.sw-of legend, .sw-of h2 {
	font-family: "Poppins", system-ui, sans-serif;
	font-weight: 600;
	font-size: clamp(19px, 2.4vw, 23px);
	line-height: 1.3;
	color: var(--of-ink);
	margin: 0 0 16px;
	padding: 0;
	outline: none;
}
.sw-of__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sw-of__chip { position: relative; cursor: pointer; }
.sw-of__chip input { position: absolute; opacity: 0; pointer-events: none; }
.sw-of__chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 16px;
	border: 2px solid var(--of-line);
	border-radius: 12px;
	background: #fff;
	font-weight: 600;
	color: var(--of-ink);
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.sw-of__chip:hover span { border-color: #b9dcee; }
.sw-of__chip input:checked + span { border-color: var(--of-primary); background: #e6f4fb; box-shadow: 0 0 0 3px #e6f4fb; }
.sw-of__chip input:focus-visible + span { outline: 2px solid var(--of-primary); outline-offset: 2px; }
.sw-of__chips--multi .sw-of__chip input:checked + span::before { content: "✓"; margin-right: 6px; color: var(--of-primary); }
.sw-of__chip--wide { flex-basis: 100%; }
.sw-of__chip--wide span { width: 100%; }
.sw-of__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; align-items: end; }
.sw-of__row[hidden] { display: none; }
.sw-of__field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--of-muted); }
.sw-of__field--short { max-width: 280px; }
.sw-of__opt { font-weight: 400; color: #8a9aa5; }
.sw-of__label { font-size: 13.5px; font-weight: 600; color: var(--of-muted); margin: 6px 0 8px; }
.sw-of input[type=text], .sw-of input[type=number], .sw-of input[type=date], .sw-of input[type=month],
.sw-of input[type=email], .sw-of input[type=tel], .sw-of select, .sw-of textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid var(--of-line);
	border-radius: 10px;
	background: #fff;
	font: 15px/1.4 "Open Sans", system-ui, sans-serif;
	color: var(--of-ink);
}
.sw-of input:focus, .sw-of select:focus, .sw-of textarea:focus { outline: none; border-color: var(--of-primary); box-shadow: 0 0 0 3px #e6f4fb; }
.sw-of input:disabled { background: var(--of-soft); color: #9aa8b2; }
.sw-of__check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 14px; color: var(--of-text); cursor: pointer; }
.sw-of__check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--of-primary); flex: none; }
.sw-of__check--consent { font-size: 13px; color: var(--of-muted); }
.sw-of__check a, .sw-of a { color: var(--of-primary-dark); }
.sw-of__err { color: var(--of-err); font-weight: 600; font-size: 13.5px; margin: -4px 0 12px; }
.sw-of__err--form { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #fdecea; }
.sw-of__progress { display: none; }
.sw-of.is-js .sw-of__progress { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sw-of__track { flex: 1; height: 6px; border-radius: 99px; background: var(--of-soft); overflow: hidden; }
.sw-of__bar { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #36b6f0, #0077b0); transition: width .25s; }
.sw-of__count { font-size: 12.5px; font-weight: 700; color: var(--of-muted); white-space: nowrap; }
.sw-of__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.sw-of__nav [data-sw-submit], .sw-of__nav [data-sw-next] { margin-left: auto; }
.sw-of__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 12px;
	background: var(--of-primary);
	color: #fff !important;
	font: 600 15.5px/1.2 "Poppins", system-ui, sans-serif;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(0, 136, 209, .25);
}
.sw-of__btn:hover { background: var(--of-primary-dark); }
.sw-of__btn--send { background: var(--of-pink); box-shadow: 0 6px 16px rgba(220, 30, 150, .25); }
.sw-of__btn--send:hover { background: #e3229f; }
.sw-of__btn--line { background: #fff; color: var(--of-ink) !important; box-shadow: inset 0 0 0 1px var(--of-line); }
.sw-of__btn--line:hover { background: var(--of-soft); }
.sw-of__btn[hidden] { display: none; }
.sw-of__btn:disabled { opacity: .7; cursor: wait; }
.sw-of__muted { color: var(--of-muted); font-size: 13.5px; }
.sw-of__foot { text-align: center; margin: 14px 0 0; }
/* podziękowanie */
.sw-of--done { text-align: center; }
.sw-of__done-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #4cc36a, #23843a); }
.sw-of__lead { font-size: 17px; }
.sw-of__lead strong { font-family: "Poppins", system-ui, sans-serif; color: var(--of-ink); letter-spacing: .02em; }
.sw-of__next { text-align: left; max-width: 520px; margin: 18px auto; padding-left: 22px; display: grid; gap: 8px; }
/* wersja osadzona (iframe) */
body.sw-of-embed { margin: 0; padding: 12px; background: transparent; }
body.sw-of-embed .sw-of { box-shadow: none; border: 1px solid #e2eaef; }
@media (max-width: 600px) {
	.sw-of { padding: 20px 16px; border-radius: 16px; }
	.sw-of__field--short { max-width: none; }
	.sw-of__chip { flex: 1 1 calc(50% - 8px); }
	.sw-of__chip span { width: 100%; justify-content: center; text-align: center; }
	.sw-of__nav .sw-of__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .sw-of * { transition: none !important; } }
/* Motyw strony stylizuje każdy button[type=submit] — tu wygrywa układ kroków formularza. */
.sw-of [hidden] { display: none !important; }
.sw-of button.sw-of__btn--send { background: var(--of-pink) !important; box-shadow: 0 6px 16px rgba(220, 30, 150, .25) !important; }
.sw-of button.sw-of__btn--send:hover { background: #e3229f !important; }
.sw-of__lead strong { white-space: nowrap; }
/* Strony z linku dla obiektu / potwierdzenia rezerwacji */
.sw-tokpage { max-width: 760px; margin: 32px auto 56px; padding: 0 16px; }
.sw-tok h2 { margin: 4px 0 16px; }
.sw-tok__eyebrow { color: var(--of-muted); font-size: 14px; margin: 0; }
.sw-tok__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 20px; margin: 0 0 22px; padding: 16px 18px; background: var(--of-soft); border-radius: 14px; }
.sw-tok__facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--of-muted); }
.sw-tok__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--of-ink); }
.sw-tok__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sw-tok__form > * { min-width: 0; }
.sw-tok__form .sw-of__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.sw-tok__no { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 22px 0 6px; padding-top: 18px; border-top: 1px solid var(--of-line); }
.sw-tok__no .sw-of__field { flex: 1 1 260px; }
.sw-tok__done { padding: 16px 18px; border-radius: 14px; background: #ecf8ef; }
.sw-tok textarea, .sw-tok select, .sw-tok input[type="text"], .sw-tok input[type="number"] { width: 100%; max-width: 100%; box-sizing: border-box; }
.sw-tok .sw-of__field { min-width: 0; }
.sw-of button.sw-of__btn--line { background: #fff !important; color: var(--of-ink) !important; box-shadow: inset 0 0 0 1px var(--of-line) !important; }
.sw-of button.sw-of__btn--line:hover { background: var(--of-soft) !important; }
@media (max-width: 600px) { .sw-tok__form .sw-of__row { grid-template-columns: minmax(0, 1fr); } .sw-tok__no .sw-of__btn { width: 100%; } }
.sw-tok .sw-of__btn { white-space: normal; line-height: 1.3; padding-left: 16px; padding-right: 16px; max-width: 100%; box-sizing: border-box; }
