/* ========================================================= Podstrona
 * „Zapisz się na lekcje" (rezerwacja) — wersja rozbudowana
 * ========================================================= */

/* ---------------------------- HERO ---------------------------- */
.zap-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 80px 0 110px;
	background:
		radial-gradient(120% 130% at 82% 20%, rgba(60, 180, 197, 0.22) 0%, rgba(60, 180, 197, 0) 52%),
		linear-gradient(135deg, #0e1f47 0%, #1b3a7b 58%, #1f5a9c 100%);
}

.zap-hero__inner {
	position: relative;
	z-index: 3;
	max-width: 1260px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1.02fr 1.18fr;
	align-items: center;
	gap: 24px;
}

.zap-crumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 22px;
}

.zap-crumb a {
	color: rgba(255, 255, 255, 0.7);
}

.zap-crumb a:hover {
	color: #fff;
}

.zap-crumb svg {
	width: 16px;
	height: 16px;
}

.zap-crumb span {
	color: #5ec163;
}

.zap-hero__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.08;
	margin: 0;
}

.zap-hero__title .accent-green {
	color: #5ec163;
	display: block;
}

.zap-hero__sub {
	margin: 18px 0 0;
	max-width: 460px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: clamp(15px, 1.3vw, 17px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.zap-hero__sub strong {
	color: #fff;
	font-weight: 700;
}

.zap-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.zap-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.92);
}

.zap-trust__item svg {
	width: 17px;
	height: 17px;
	color: #5ec163;
	flex-shrink: 0;
}

/* wizual: zdjęcie + karta */
.zap-hero__visual {
	position: relative;
	align-self: stretch;
	min-height: 440px;
}

.zap-hero__photo {
	position: absolute;
	bottom: -110px;
	left: 4%;
	width: 63%;
	max-width: 364px;
	height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
	z-index: 2;
}

.zap-hero__card {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 3;
	width: 262px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	padding: 20px 20px 16px;
	backdrop-filter: blur(6px);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.zap-hcard__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
}

.zap-hcard__row + .zap-hcard__row {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zap-hcard__ic {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(60, 180, 197, 0.18);
	color: #6fd3e2;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.zap-hcard__ic svg {
	width: 18px;
	height: 18px;
}

.zap-hcard__label {
	display: block;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.6);
}

.zap-hcard__val {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	line-height: 1.3;
}

.zap-hcard__rating {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(60, 180, 197, 0.14);
}

.zap-hcard__stars {
	display: flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
	color: #fff;
}

.zap-hcard__stars svg {
	width: 18px;
	height: 18px;
	color: #f6b93b;
}

.zap-hcard__stars small {
	font-weight: 500;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.zap-hcard__count {
	text-align: right;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	line-height: 1.1;
}

.zap-hcard__count small {
	display: block;
	font-weight: 500;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
}

/* dekoracje hero (doodle + poświata za postacią) */
.zap-hero__doodles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* fala na dole hero */
.zap-hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: 70px;
	z-index: 2;
	display: block;
}

/* ---------------------------- TRUST BAR ---------------------------- */
.zap-tbar {
	background: #f4f8fc;
	padding: 30px 0;
}

.zap-tbar__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

.zap-tbar__item {
	display: flex;
	align-items: center;
	gap: 13px;
}

.zap-tbar__ic {
	color: var(--teal);
	flex-shrink: 0;
}

.zap-tbar__ic svg {
	width: 30px;
	height: 30px;
}

.zap-tbar__big {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 20px;
	color: var(--navy);
	line-height: 1.15;
}

.zap-tbar__label {
	display: block;
	font-size: 13.5px;
	color: #5a6577;
}

/* ---------------------------- JAK TO DZIAŁA ---------------------------- */
.zap-steps {
	position: relative;
	overflow: hidden;
	background: #fff;
	padding: 62px 0 46px;
}

.zap-steps__head {
	text-align: center;
	margin-bottom: 40px;
}

.zap-eyebrow {
	display: block;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 8px;
}

.zap-steps__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(26px, 3.2vw, 38px);
	color: var(--navy);
	margin: 0;
}

.zap-steps__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 40px;
	counter-reset: zstep;
}

.zap-steps__trail {
	position: absolute;
	left: 0;
	right: 0;
	top: 132px;
	width: 100%;
	height: 40px;
	z-index: 1;
}

.zap-step {
	counter-increment: zstep;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px;
	background: #f8fbfe;
	border: 1px solid #e9eff6;
	border-radius: 18px;
	padding: 22px 22px;
	box-shadow: 0 10px 28px rgba(27, 58, 123, 0.05);
}

.zap-step__badge {
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 20px rgba(27, 58, 123, 0.1);
	display: grid;
	place-items: center;
	color: var(--navy);
}

.zap-step__badge svg {
	width: 28px;
	height: 28px;
}

.zap-step__num {
	position: absolute;
	top: -6px;
	left: -6px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 13px;
	display: grid;
	place-items: center;
	border: 3px solid #f8fbfe;
}

.zap-step__num::before {
	content: counter(zstep);
}

.zap-step__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 17px;
	color: var(--navy);
	margin: 0 0 5px;
}

.zap-step__text {
	color: #5a6577;
	font-size: 13.5px;
	line-height: 1.55;
	margin: 0;
}

/* ---------------------------- REZERWACJA ---------------------------- */
.zap-book {
	background: #f4f8fc;
	padding: 30px 0 74px;
}

.zap-book__grid {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.zap-widget {
	min-height: 540px;
	border: 2px dashed #c6d5e8;
	border-radius: 22px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 32px;
}

.zap-widget__ic {
	width: 88px;
	height: 88px;
	border-radius: 24px;
	background: rgba(60, 180, 197, 0.12);
	color: var(--teal);
	display: grid;
	place-items: center;
	margin-bottom: 22px;
}

.zap-widget__ic svg {
	width: 46px;
	height: 46px;
}

.zap-widget__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 22px;
	color: var(--navy);
	margin: 0 0 10px;
}

.zap-widget__text {
	color: #5a6577;
	font-size: 15px;
	line-height: 1.65;
	margin: 0 auto 20px;
	max-width: 440px;
}

.zap-widget__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #f4f8fc;
	border: 1px solid #dbe6f2;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 13px;
	color: #6b7280;
}

.zap-widget__tag svg {
	width: 15px;
	height: 15px;
	color: var(--teal);
}

/* sidebar */
.zap-side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.zap-card {
	background: #fff;
	border: 1px solid #e6ecf4;
	border-radius: 18px;
	padding: 24px 24px;
	box-shadow: 0 12px 30px rgba(27, 58, 123, 0.06);
}

.zap-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 17px;
	color: var(--navy);
	margin: 0 0 16px;
}

.zap-card__title svg {
	width: 21px;
	height: 21px;
	color: var(--teal);
}

.zap-facts {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.zap-fact {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.zap-fact__ic {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(60, 180, 197, 0.1);
	color: var(--teal);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.zap-fact__ic svg {
	width: 18px;
	height: 18px;
}

.zap-fact__label {
	display: block;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #97a1b2;
	margin-bottom: 2px;
}

.zap-fact__val {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14.5px;
	color: var(--navy);
	line-height: 1.35;
}

.zap-fact__val .zap-ph {
	background: #eef4fa;
	color: #2f6fbf;
	padding: 1px 6px;
	border-radius: 5px;
	font-size: 0.9em;
}

.zap-benefits {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.zap-benefit {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: #4a5568;
	line-height: 1.4;
}

.zap-benefit svg {
	width: 20px;
	height: 20px;
	color: var(--green);
	flex-shrink: 0;
	margin-top: 1px;
}

.zap-card--ask p {
	margin: 0 0 16px;
	color: #5a6577;
	font-size: 14px;
	line-height: 1.6;
}

.zap-card--ask .btn {
	width: 100%;
	justify-content: center;
}

/* ---------------------------- DLACZEGO WYBIERAJĄ
 * ---------------------------- */
.zap-why {
	position: relative;
	overflow: hidden;
	background: #fff;
	padding: 66px 0 72px;
}

.zap-why__head {
	text-align: center;
	margin-bottom: 40px;
}

.zap-why__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(24px, 3vw, 34px);
	color: var(--navy);
	margin: 0;
}

.zap-why__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 26px;
	align-items: start;
}

.zap-why__features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.zap-feat {
	background: #f8fbfe;
	border: 1px solid #e9eff6;
	border-radius: 16px;
	padding: 22px 20px;
	text-align: center;
}

.zap-feat__ic {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(60, 180, 197, 0.1);
	color: var(--teal);
	display: grid;
	place-items: center;
	margin: 0 auto 14px;
}

.zap-feat__ic svg {
	width: 26px;
	height: 26px;
}

.zap-feat__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15.5px;
	color: var(--navy);
	margin: 0 0 8px;
}

.zap-feat__text {
	color: #5a6577;
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.zap-quote {
	position: relative;
	background: linear-gradient(160deg, #1b3a7b 0%, #10224f 100%);
	color: #fff;
	border-radius: 20px;
	padding: 30px 28px 24px;
	display: flex;
	flex-direction: column;
}

.zap-quote__mark {
	font-family: Georgia, serif;
	font-size: 60px;
	line-height: 0.4;
	height: 26px;
	color: rgba(94, 193, 99, 0.7);
}

.zap-quote__text {
	font-size: 16px;
	line-height: 1.6;
	margin: 12px 0 0;
}

.zap-quote__author {
	margin: 18px 0 12px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	color: #7fd6e4;
}

.zap-quote__dots {
	display: flex;
	gap: 7px;
	margin-top: auto;
}

.zap-quote__dots span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.28);
}

.zap-quote__dots span:first-child {
	width: 20px;
	border-radius: 999px;
	background: var(--green);
}

/* ---------------------------- FAQ „Szybkie odpowiedzi"
 * ---------------------------- */
.zap-faq {
	background: #fff;
	padding: 62px 0 78px;
}

.zap-faq__head {
	text-align: center;
	margin-bottom: 40px;
}

.zap-faq__title {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: clamp(24px, 3vw, 34px);
	color: var(--navy);
	margin: 0;
}

.zap-faq__grid {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 22px;
	align-items: start;
}

.qa-item {
	background: #fff;
	border: 1px solid #e6ecf4;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(27, 58, 123, 0.04);
	transition: border-color 0.25s var(--ease);
}

.qa-item.is-open {
	border-color: rgba(76, 176, 80, 0.4);
}

.qa-item__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 17px 20px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--navy);
}

.qa-item__plus {
	position: relative;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.qa-item__plus::before,
.qa-item__plus::after {
	content: "";
	position: absolute;
	background: var(--green);
	border-radius: 2px;
	transition: transform 0.3s var(--ease);
}

.qa-item__plus::before {
	top: 50%;
	left: 3px;
	right: 3px;
	height: 2.6px;
	transform: translateY(-50%);
}

.qa-item__plus::after {
	left: 50%;
	top: 3px;
	bottom: 3px;
	width: 2.6px;
	transform: translateX(-50%);
}

.qa-item.is-open .qa-item__plus::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.qa-item__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.34s var(--ease);
}

.qa-item.is-open .qa-item__a {
	grid-template-rows: 1fr;
}

.qa-item__a > div {
	overflow: hidden;
}

.qa-item__a p {
	margin: 0;
	padding: 0 20px 18px;
	color: #5a6577;
	font-size: 14px;
	line-height: 1.65;
}

/* ---------------------------- RWD ---------------------------- */
@media (max-width: 1000px) {

	.zap-why__features {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {

	.zap-hero__inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.zap-hero__visual {
		min-height: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 24px;
	}

	.zap-hero__photo {
		position: static;
		width: min(300px, 78%);
		margin: 0 auto;
		filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
	}

	.zap-hero__card {
		position: static;
		transform: none;
		width: 100%;
		max-width: 360px;
		margin: 0 auto;
	}

	.zap-hero {
		padding: 40px 0 70px;
	}

	.zap-hero__wave {
		display: none;
	}

	.zap-hero__doodles {
		display: none;
	}

	.zap-steps__grid {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 460px;
	}

	.zap-steps__trail {
		display: none;
	}

	.zap-book__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.zap-side {
		grid-template-columns: 1fr;
	}

	.zap-why__grid {
		grid-template-columns: 1fr;
	}

	.zap-faq__grid {
		grid-template-columns: 1fr;
	}

	.zap-tbar__inner {
		justify-content: flex-start;
		gap: 24px 34px;
	}
}

@media (max-width: 560px) {

	.zap-hero__inner,
	.zap-steps__grid,
	.zap-book__grid,
	.zap-why__grid,
	.zap-faq__grid,
	.zap-tbar__inner {
		padding-left: 22px;
		padding-right: 22px;
	}

	.zap-why__features {
		grid-template-columns: 1fr;
	}

	.zap-widget {
		min-height: 420px;
		padding: 40px 22px;
	}
}

/* Aktywny kalendarz zastępuje placeholder bez narzucania stylów wtyczce. */
.zap-widget.is-integrated {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	display: block;
	text-align: initial;
}

.zap-widget__integration,
.zap-widget__integration > .wp-block-html,
.zap-widget__integration > .wp-block-shortcode {
	width: 100%;
	max-width: none;
	margin: 0;
}

.zap-widget__integration iframe,
.zap-widget__integration form {
	max-width: 100%;
}

/* Bookly: pełna szerokość sekcji i czytelniejsze karty usług. */
.zap-widget__integration .bookly-css-root,
.zap-widget__integration .bookly-search-form {
	width: 100%;
	max-width: none;
}

.zap-widget__integration .bookly-search-form {
	overflow: hidden;
	border: 1px solid #dce6f2;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(27, 58, 123, 0.09);
}

.zap-widget__integration .bookly-search-form-left {
	flex: 0 0 320px;
	width: 320px;
	min-width: 0;
	border-right: 1px solid #e6edf5;
	background: #f8fbfe;
}

.zap-widget__integration .bookly-search-form-right {
	flex: 1 1 0;
	min-width: 0;
	padding: 0 !important;
	background: #fff;
}

.zap-widget__integration .rtz-bookly-results-title {
	margin: 0 !important;
	padding: 20px 16px 12px;
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--navy);
}

.zap-widget__integration .rtz-bookly-results-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 16px;
	padding: 0 16px 18px;
}

.zap-widget__integration .bookly-service-card-mark {
	position: relative;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid #dce6f2 !important;
	border-radius: 18px !important;
	background: #fff;
	box-shadow: 0 10px 28px rgba(27, 58, 123, 0.07);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zap-widget__integration .bookly-service-card-mark:hover {
	transform: translateY(-2px);
	border-color: rgba(60, 180, 197, 0.7) !important;
	box-shadow: 0 16px 34px rgba(27, 58, 123, 0.12);
}

.zap-widget__integration .bookly-service-card-mark:focus-visible {
	outline: 3px solid rgba(60, 180, 197, 0.48);
	outline-offset: 3px;
}

.zap-widget__integration .bookly-service-card-mark[aria-pressed="true"] {
	border-color: var(--green) !important;
	box-shadow: 0 0 0 2px rgba(76, 176, 80, 0.2), 0 16px 34px rgba(27, 58, 123, 0.12);
}

.zap-widget__integration .bookly-service-card-mark .bookly-card-header-mark {
	display: flex;
	height: auto !important;
	min-height: 78px;
	align-items: center;
	padding: 14px 16px !important;
	background: linear-gradient(135deg, #1b3a7b 0%, #315fa9 100%) !important;
}

.zap-widget__integration .bookly-service-card-mark [slot="header-title"] {
	position: static !important;
	inset: auto !important;
	float: none !important;
	display: flex !important;
	width: 100%;
	min-width: 0;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
}

.zap-widget__integration .bookly-service-card-mark [slot="body-content"] > div {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px 12px;
}

.zap-widget__integration .bookly-service-card-mark [slot="header-title"] > div:first-child {
	width: 42px !important;
	height: 42px !important;
	flex: 0 0 42px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--navy);
}

.zap-widget__integration .bookly-service-card-mark [slot="header-title"] > div:nth-child(2) {
	min-width: 0;
	margin: 0 !important;
}

.zap-widget__integration .bookly-service-card-mark [slot="header-title"] span {
	color: #fff !important;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.zap-widget__integration .bookly-service-card-mark > .bookly-flip-inner,
.zap-widget__integration .bookly-service-card-mark .bookly-flip-face {
	height: 100%;
}

.zap-widget__integration .bookly-service-card-mark .bookly-flip-face > .bookly\:p-4 {
	padding: 14px 16px 16px !important;
}

.zap-widget__integration .bookly-service-card-mark [slot="body-content"] {
	margin: 0 !important;
}

.zap-widget__integration .bookly-service-card-mark .bookly-card-text-mark {
	min-width: 0;
	margin: 0 !important;
	color: #526074;
}

.zap-widget__integration .bookly-service-card-mark .bookly-service-title-mark {
	grid-column: 1 / -1;
	order: 0 !important;
	min-height: 50px;
	padding: 0 0 12px !important;
	border-bottom: 1px solid #e8eef5;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-wrap: balance;
	color: var(--navy);
}

.zap-widget__integration .bookly-service-card-mark .bookly-service-duration-mark,
.zap-widget__integration .bookly-service-card-mark .bookly-service-price-mark {
	order: 1 !important;
	min-height: 48px;
	padding: 9px 11px !important;
	border: 1px solid #e5edf6;
	border-radius: 12px;
	background: #f7fafc;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
}

.zap-widget__integration .bookly-service-card-mark .bookly-service-price-mark {
	color: var(--navy);
}

.zap-widget__integration .bookly-service-card-mark .bookly-card-text-mark i {
	width: 22px;
	flex: 0 0 22px;
	font-size: 20px !important;
	color: #3f6fcf;
}

.zap-widget__integration .rtz-bookly-card-cta {
	grid-column: 1 / -1;
	order: 2 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 0;
	border-radius: 11px;
	background: rgba(60, 180, 197, 0.11);
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	color: #17697a;
}

.zap-widget__integration .bookly-service-card-mark[aria-pressed="true"] .rtz-bookly-card-cta {
	background: rgba(76, 176, 80, 0.14);
	color: #236d28;
}

@media (max-width: 900px) {

	.zap-widget__integration .bookly-search-form {
		flex-direction: column !important;
	}

	.zap-widget__integration .bookly-search-form-left {
		width: 100%;
		flex-basis: auto;
		border-right: 0;
		border-bottom: 1px solid #e6edf5;
	}
}

@media (max-width: 1180px) and (min-width: 901px) {

	.zap-book__grid {
		padding-right: 24px;
		padding-left: 24px;
	}

	.zap-widget__integration .bookly-search-form-left {
		width: 300px;
		flex-basis: 300px;
	}

	.zap-widget__integration .rtz-bookly-results-grid {
		gap: 12px;
		padding-right: 12px;
		padding-left: 12px;
	}
}

@media (max-width: 782px) {

	.zap-widget__integration .bookly-search-form {
		border-radius: 18px;
	}

	.zap-widget__integration .rtz-bookly-results-title {
		padding: 18px 16px 12px;
		font-size: 17px;
	}

	.zap-widget__integration .rtz-bookly-results-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 0 12px 16px;
	}

	.zap-widget__integration .bookly-service-card-mark .bookly-service-title-mark {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.zap-widget__integration .bookly-service-card-mark {
		transition: none;
	}

	.zap-widget__integration .bookly-service-card-mark:hover {
		transform: none;
	}
}

/* Modal Bookly: na małych ekranach przewijaj listę terminów, nie całe
 * okno. */
@media (max-width: 782px) {

	body.is-bookly-modal-open .cky-btn-revisit-wrapper {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}

	.bookly-search-form-modal .bookly\:max-w-screen-xl.bookly\:bg-white.bookly\:shadow-xl {
		margin-top: 16px !important;
		max-height: calc(100vh - 48px);
		max-height: calc(100dvh - 48px);
		overflow: hidden;
	}

	.bookly-search-form-modal .bookly\:max-w-screen-xl.bookly\:bg-white.bookly\:shadow-xl > .bookly\:p-4.bookly\:flex.bookly\:flex-col {
		min-height: 0;
		max-height: inherit;
		padding: 12px !important;
	}

	.bookly-search-form-modal .bookly-summary-mark {
		margin-bottom: 10px !important;
	}

	.bookly-search-form-modal .bookly-summary-row-mark {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		text-align: left !important;
		font-size: 14px !important;
		line-height: 1.35;
	}

	.bookly-search-form-modal .bookly-summary-row-mark > div {
		min-width: 0;
		padding: 9px 10px;
		overflow-wrap: anywhere;
		border: 1px solid #e5edf6;
		border-radius: 10px;
		background: #f7fafc;
	}

	.bookly-search-form-modal .bookly-summary-row-mark > div > div:first-child {
		margin-bottom: 2px;
		font-size: 12px !important;
		line-height: 1.25;
		color: #526074;
	}

	.bookly-search-form-modal .bookly-summary-row-mark > div > hr {
		display: none !important;
	}

	.bookly-search-form-modal .bookly-modal-body-mark {
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.bookly-search-form-modal .bookly-details-step-body-mark {
		margin-bottom: 10px !important;
	}

	.bookly-search-form-modal .bookly-modal-footer-mark {
		margin-top: 10px !important;
	}

	.bookly-search-form-modal .bookly-modal-footer-mark button {
		min-width: 44px;
		height: 44px !important;
	}
}
