/* Kako rezervirati (parts/kako-rezervirati.php). Boje samo iz teme: krem #f5f5f0, tinta #151515, siva #808080. */
.kr {
	--krem: #f5f5f0;
	--tinta: #151515;
	--siva: #808080;
	--kartica: rgb(245 245 240 / 0.06);
	--rub: rgb(245 245 240 / 0.12);
	padding: 7rem 0;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/inter-500-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/inter-500-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Raspored: naslov, telefon, gumb preko donjeg ruba telefona (5 % širi sa svake strane), tekst. */
.kr-wrap {
	--w: min(24rem, 80%);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.kr-wrap h2 {
	order: 1;
	margin: 0 0 3rem;
}
.kr-phone {
	order: 2;
	width: var(--w);
}
.kr-cta {
	order: 3;
	position: relative;
	z-index: 1;
	width: calc(var(--w) * 1.1);
	margin-top: -4rem;
}
.kr-cta .latepoint-book-button {
	display: flex;
	width: 100%;
	font-weight: 500;
}
.kr-wrap p {
	order: 4;
	max-width: 32rem;
	margin: 2rem 0 0;
}

/* Telefon: pozornica 860 x 1300 u pikselima scene, JS je skalira na širinu stupca (--s). */
.kr-phone {
	position: relative;
	overflow: hidden;
	aspect-ratio: 860 / 1300;
	-webkit-mask-image: linear-gradient(#000 88%, transparent);
	mask-image: linear-gradient(#000 88%, transparent);
}
.kr-stage {
	position: absolute;
	left: 0;
	top: 0;
	width: 860px;
	height: 1300px;
	transform: scale(var(--s, 0.4));
	transform-origin: 0 0;
	font-family: Inter, sans-serif;
	color: var(--krem);
	text-align: left;
}
.kr-stage * {
	position: absolute;
	box-sizing: border-box;
}
.kr-stage b,
.kr-stage em,
.kr-stage small,
.kr-stage svg,
.kr-stage path {
	position: static;
}
.kr-body {
	inset: 0 0 auto 0;
	height: 1800px;
	border-radius: 150px;
	background: #0e0e0e;
	box-shadow: inset 0 0 0 2px #3a3a3a, inset 0 0 0 7px #0e0e0e, inset 0 0 0 8px #262626;
}
.kr-screen {
	left: 16px;
	top: 16px;
	width: 828px;
	height: 1768px;
	border-radius: 134px;
	overflow: hidden;
	background: var(--tinta);
}
.kr-island {
	left: 289px;
	top: 30px;
	width: 250px;
	height: 74px;
	border-radius: 37px;
	background: #000;
	z-index: 3;
}
.kr-status {
	left: 0;
	right: 0;
	top: 46px;
	height: 44px;
	font-size: 34px;
	z-index: 2;
}
.kr-status span {
	left: 96px;
}
.kr-status i {
	right: 86px;
	top: 8px;
	width: 54px;
	height: 26px;
	border-radius: 8px;
	box-shadow: inset 0 0 0 2.5px rgb(245 245 240 / 0.55);
}
.kr-status i::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 5px;
	width: 36px;
	height: 16px;
	border-radius: 4px;
	background: var(--krem);
}
.kr-app {
	inset: 0;
}
.kr-logo {
	left: 48px;
	top: 128px;
	width: 64px;
	height: 64px;
}
.kr-shop {
	left: 128px;
	top: 146px;
	font-size: 26px;
	line-height: 1;
	color: var(--siva);
}
.kr-track {
	left: 0;
	top: 0;
	width: 3312px;
	height: 100%;
	display: flex;
}
.kr-panel {
	position: relative;
	flex: none;
	width: 828px;
	height: 100%;
}
.kr-h {
	left: 48px;
	top: 228px;
	font-family: Rakkas, sans-serif;
	font-size: 58px;
	line-height: 1;
	white-space: nowrap;
}
.kr-card {
	border-radius: 20px;
	background: var(--kartica);
	box-shadow: inset 0 0 0 1.5px var(--rub);
}
.kr-svc {
	left: 48px;
	width: 732px;
	height: 150px;
	padding: 0 34px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.kr-svc b {
	flex: 1;
	min-width: 0;
	font-size: 31px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kr-svc em {
	font-family: Rakkas, sans-serif;
	font-size: 40px;
	font-style: normal;
	white-space: nowrap;
}
.kr-barber {
	top: 330px;
	width: 354px;
	height: 470px;
	border-radius: 22px;
}
.kr-barber img {
	left: 14px;
	top: 14px;
	width: 326px;
	height: 340px;
	border-radius: 14px;
	object-fit: cover;
}
.kr-barber b {
	position: absolute;
	left: 0;
	right: 0;
	top: 380px;
	text-align: center;
	font-family: Rakkas, sans-serif;
	font-size: 46px;
	font-weight: 400;
}
.kr-day {
	top: 320px;
	width: 132px;
	height: 150px;
	text-align: center;
}
.kr-day small,
.kr-day b {
	display: block;
}
.kr-day small {
	margin-top: 28px;
	font-size: 21px;
	letter-spacing: 1px;
	color: var(--siva);
}
.kr-day b {
	margin-top: 10px;
	font-family: Rakkas, sans-serif;
	font-size: 54px;
	font-weight: 400;
	line-height: 1;
}
.kr-when {
	left: 48px;
	top: 512px;
	font-size: 26px;
	color: var(--siva);
}
.kr-slot {
	width: 232px;
	height: 92px;
	border-radius: 16px;
	display: grid;
	place-content: center;
	font-size: 30px;
}
.kr-field {
	left: 48px;
	width: 732px;
	height: 130px;
}
.kr-field small {
	display: block;
	font-size: 24px;
	color: var(--siva);
}
.kr-field .kr-card {
	left: 0;
	right: 0;
	top: 38px;
	height: 84px;
	border-radius: 16px;
}
.kr-field span {
	left: 28px;
	top: 24px;
	font-size: 30px;
	white-space: nowrap;
}
.kr-btn {
	left: 48px;
	top: 1300px;
	width: 732px;
	height: 110px;
	border-radius: 22px;
	background: var(--krem);
	color: var(--tinta);
	overflow: hidden;
}
.kr-btn-lbl {
	inset: 0;
	display: grid;
	place-content: center;
	font-size: 32px;
}
.kr-btn-done {
	inset: 0;
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 0 44px;
}
.kr-btn-done i,
.kr-btn-done div {
	position: relative;
}
.kr-btn-done i {
	flex: none;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--tinta);
	display: grid;
	place-content: center;
}
.kr-btn-done svg {
	width: 40px;
	height: 40px;
	fill: none;
	stroke: var(--krem);
	stroke-width: 5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.kr-btn-done b,
.kr-btn-done small {
	display: block;
}
.kr-btn-done b {
	font-family: Rakkas, sans-serif;
	font-size: 46px;
	font-weight: 400;
	line-height: 1.1;
}
.kr-btn-done small {
	margin-top: 8px;
	font-size: 26px;
	color: rgb(21 21 21 / 0.6);
}
.kr-dot {
	left: 50%;
	top: 50%;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	border-radius: 50%;
	background: rgb(245 245 240 / 0.32);
	opacity: 0;
	pointer-events: none;
}

@media screen and (max-width: 991px) {
	.kr {
		padding: 4rem 0;
	}
	.kr-wrap {
		--w: min(17rem, 75%);
	}
	.kr-wrap h2 {
		margin-bottom: 2rem;
	}
	.kr-cta {
		margin-top: -2.25rem;
	}
}
