/* Stempelkarte – booking page and price list. Scoped to .stk-bk and .stk-pricelist. */

.stk-bk, .stk-pricelist {
	--stk-bg: #1c1318;
	--stk-accent: #d9a38f;
	--bk-ink: #1c1318;
	--bk-text: #2a2025;
	--bk-muted: #6b5e64;
	--bk-line: #e6dbd4;
	--bk-soft: #f6efea;
	--bk-card: #ffffff;
	--bk-accent-soft: color-mix(in oklab, var(--stk-accent) 18%, #fff);
	--bk-serif: "STK Cormorant", "Cormorant Garamond", Georgia, serif;
	--bk-sans: "STK Manrope", Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-family: var(--bk-sans);
	color: var(--bk-text);
}

.stk-bk *, .stk-bk *::before, .stk-bk *::after,
.stk-pricelist *, .stk-pricelist *::before, .stk-pricelist *::after { box-sizing: border-box; }

.stk-bk { max-width: 1080px; margin: 0 auto; font-size: 16px; line-height: 1.5; }
.stk-bk [hidden] { display: none !important; }
.stk-bk-loading { padding: 48px 0; text-align: center; color: var(--bk-muted); }

/* ------------------------------------------------------------ steps */

.stk-bk-steps {
	display: flex;
	gap: 6px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.stk-bk-steps li {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 0 auto;
	padding: 10px 14px 10px 10px;
	border-radius: 999px;
	background: var(--bk-soft);
	color: var(--bk-muted);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.stk-bk-steps b {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	font-size: 12px;
}

.stk-bk-steps .is-current { background: var(--bk-ink); color: #fff; }
.stk-bk-steps .is-current b { background: var(--stk-accent); color: var(--bk-ink); }
.stk-bk-steps .is-done b { background: var(--stk-accent); color: var(--bk-ink); }
.stk-bk-steps button { padding: 0; border: 0; background: none; color: var(--bk-text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 640px) {
	.stk-bk-steps li:not(.is-current) span, .stk-bk-steps li:not(.is-current) button { display: none; }
	.stk-bk-steps li:not(.is-current) { flex: 0 0 auto; padding: 8px; }
}

/* ------------------------------------------------------------- grid */

.stk-bk-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }

@media (min-width: 900px) {
	.stk-bk-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
	.stk-bk-side { position: sticky; top: 96px; }
}

.stk-bk-main h2, .stk-bk-status h2 {
	margin: 0 0 18px;
	font-family: var(--bk-serif);
	font-weight: 600;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.1;
	color: var(--bk-ink);
	outline: none;
}

.stk-bk-side {
	padding: 20px;
	border-radius: 20px;
	background: var(--bk-soft);
}

.stk-bk-side h2 { margin: 0 0 12px; font-family: var(--bk-sans); font-size: 15px; font-weight: 700; }

.stk-bk-sum { margin: 0; display: grid; gap: 12px; }
.stk-bk-sum div { display: grid; gap: 2px; }
.stk-bk-sum dt { font-size: 13px; color: var(--bk-muted); }
.stk-bk-sum dd { margin: 0; font-weight: 700; }
.stk-bk-sum small { display: block; font-weight: 500; color: var(--bk-muted); }
.stk-bk-sum.is-big { padding: 20px; border-radius: 20px; background: var(--bk-soft); margin: 0 0 20px; }

.stk-bk-alert {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #fbeeee;
	border: 1px solid #efc6c6;
	color: #7a2f2f;
}

.stk-bk-muted { margin: 12px 0 0; font-size: 14.5px; color: var(--bk-muted); }
.stk-bk-center { text-align: center; }

/* -------------------------------------------------------- services */

.stk-bk-cat { margin: 0 0 22px; }
.stk-bk-cat h3, .stk-pl-cat {
	margin: 0 0 10px;
	font-family: var(--bk-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bk-muted);
}

.stk-bk-services, .stk-pl-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.stk-bk-service, .stk-pl-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid var(--bk-line);
	border-radius: 16px;
	background: var(--bk-card);
	color: var(--bk-text);
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .15s, transform .12s;
}

.stk-bk-service:hover, .stk-pl-item a:hover { border-color: var(--bk-ink); }
.stk-bk-service:active { transform: scale(.995); }
.stk-bk-service:focus-visible, .stk-pl-item a:focus-visible { outline: 2px solid var(--stk-accent); outline-offset: 2px; }
.stk-bk-service.is-on { border-color: var(--bk-ink); box-shadow: inset 0 0 0 1px var(--bk-ink); }

.stk-bk-s-main, .stk-pl-main { display: grid; gap: 2px; min-width: 0; }
.stk-bk-s-name, .stk-pl-name { font-weight: 700; }
.stk-bk-s-desc, .stk-pl-desc { font-size: 14px; color: var(--bk-muted); }
.stk-bk-s-meta, .stk-pl-meta { display: grid; justify-items: end; gap: 2px; flex: none; }
.stk-bk-s-price, .stk-pl-price { font-weight: 700; white-space: nowrap; }
.stk-bk-s-dur, .stk-pl-dur { font-size: 13px; color: var(--bk-muted); white-space: nowrap; }

/* ------------------------------------------------------ date / time */

.stk-bk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }

.stk-bk-chips button, .stk-bk-tabs button {
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--bk-line);
	border-radius: 999px;
	background: var(--bk-card);
	color: var(--bk-text);
	font: inherit;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}

.stk-bk-chips .is-on, .stk-bk-tabs .is-on { background: var(--bk-ink); border-color: var(--bk-ink); color: #fff; }

.stk-bk-cal-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; }

@media (min-width: 700px) {
	.stk-bk-cal-wrap { grid-template-columns: minmax(0, 340px) 1fr; gap: 28px; }
}

.stk-bk-cal { padding: 16px; border: 1px solid var(--bk-line); border-radius: 20px; background: var(--bk-card); }

.stk-bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.stk-bk-cal-head strong { font-weight: 700; }

.stk-bk-icon {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--bk-soft);
	color: var(--bk-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.stk-bk-icon[disabled] { opacity: .35; cursor: not-allowed; }

.stk-bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }

.stk-bk-cal-grid > * {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 50%;
	font-size: 14.5px;
	font-variant-numeric: tabular-nums;
}

.stk-bk-cal-grid .is-wd { aspect-ratio: auto; padding: 4px 0; font-size: 12px; font-weight: 700; color: var(--bk-muted); }
.stk-bk-cal-grid .is-off { color: #c3b7b2; }

.stk-bk-cal-grid button {
	border: 0;
	background: var(--bk-accent-soft);
	color: var(--bk-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.stk-bk-cal-grid button:hover { background: color-mix(in oklab, var(--stk-accent) 35%, #fff); }
.stk-bk-cal-grid button.is-on { background: var(--bk-ink); color: #fff; }
.stk-bk-cal-grid .is-today { box-shadow: inset 0 0 0 1.5px var(--bk-ink); }

.stk-bk-times-h { margin: 0 0 12px; font-family: var(--bk-sans); font-size: 16px; font-weight: 700; }
.stk-bk-tgroup { margin: 0 0 14px; }
.stk-bk-tgroup > span { display: block; margin-bottom: 6px; font-size: 13px; color: var(--bk-muted); }
.stk-bk-tgroup > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }

.stk-bk-tgroup button {
	min-height: 44px;
	border: 1px solid var(--bk-line);
	border-radius: 12px;
	background: var(--bk-card);
	color: var(--bk-text);
	font: inherit;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
}

.stk-bk-tgroup button:hover { border-color: var(--bk-ink); }
.stk-bk-tgroup button.is-on { background: var(--bk-ink); border-color: var(--bk-ink); color: #fff; }

/* --------------------------------------------------------- forms */

.stk-bk-tabs { display: flex; gap: 8px; margin: 0 0 14px; }

.stk-bk-card {
	display: grid;
	gap: 14px;
	padding: 20px;
	border: 1px solid var(--bk-line);
	border-radius: 20px;
	background: var(--bk-card);
}

.stk-bk-card p { margin: 0; }

.stk-bk-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.stk-bk-field label span { font-weight: 500; color: var(--bk-muted); }
.stk-bk-field small { display: block; margin-top: 6px; font-size: 13px; color: var(--bk-muted); }

.stk-bk input[type="text"], .stk-bk input[type="email"], .stk-bk input[type="tel"], .stk-bk input[type="date"], .stk-bk textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--bk-line);
	border-radius: 12px;
	background: #fff;
	color: var(--bk-text);
	font: inherit;
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.stk-bk textarea { resize: vertical; }
.stk-bk input:focus, .stk-bk textarea:focus { outline: none; border-color: var(--stk-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--stk-accent) 22%, transparent); }
.stk-bk input.stk-bk-code { max-width: 220px; font-size: 26px; font-weight: 700; letter-spacing: .3em; text-align: center; }

.stk-bk-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--bk-muted); cursor: pointer; }
.stk-bk-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bk-ink); }
.stk-bk-check a { color: var(--bk-ink); }

.stk-bk-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.stk-bk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* ------------------------------------------------------- confirm */

.stk-bk-price { margin: 0 0 20px; padding: 18px 20px; border-radius: 20px; background: var(--bk-soft); }
.stk-bk-price > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.stk-bk-price .is-discount { color: #2f6a47; font-weight: 600; }
.stk-bk-price .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--bk-line); font-weight: 700; font-size: 18px; }

.stk-bk-pay { margin: 0 0 8px; padding: 0; border: 0; display: grid; gap: 8px; }
.stk-bk-pay legend { margin-bottom: 10px; font-weight: 700; }

.stk-bk-pay label {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	padding: 14px 16px;
	border: 1px solid var(--bk-line);
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
}

.stk-bk-pay label.is-on { border-color: var(--bk-ink); box-shadow: inset 0 0 0 1px var(--bk-ink); }
.stk-bk-pay input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bk-ink); }
.stk-bk-pay b { display: block; }
.stk-bk-pay small { color: var(--bk-muted); font-size: 14px; }

.stk-bk-policy { margin: 20px 0 16px; padding: 14px 16px; border-left: 3px solid var(--stk-accent); background: #fffaf7; border-radius: 0 12px 12px 0; }
.stk-bk-policy p { margin: 4px 0 0; font-size: 14.5px; color: var(--bk-muted); }

/* --------------------------------------------------------- buttons */

.stk-bk-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }
.stk-bk-nav.is-center { justify-content: center; }

.stk-bk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--bk-ink);
	color: #fff !important;
	font: inherit;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .15s, opacity .15s;
}

.stk-bk-btn:hover { background: #3a2a32; }
.stk-bk-btn:focus-visible { outline: 2px solid var(--stk-accent); outline-offset: 3px; }
.stk-bk-btn[disabled] { opacity: .4; cursor: not-allowed; }
.stk-bk-btn.is-ghost { background: transparent; color: var(--bk-ink) !important; box-shadow: inset 0 0 0 1.5px var(--bk-line); }
.stk-bk-btn.is-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bk-ink); }
.stk-bk-btn.is-danger { background: #9c2f2f; }

.stk-bk-link { padding: 0; border: 0; background: none; color: var(--bk-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 640px) {
	.stk-bk-nav .stk-bk-btn:not(.is-ghost) { flex: 1; }
}

/* ---------------------------------------------------------- status */

.stk-bk-status { max-width: 620px; margin: 0 auto; }

.stk-bk-done { text-align: center; margin: 0 0 24px; }
.stk-bk-done p { margin: 0 auto; max-width: 460px; color: var(--bk-muted); }

.stk-bk-done-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	font-size: 34px;
	font-weight: 700;
}

.stk-bk-done.is-ok .stk-bk-done-icon { background: var(--stk-accent); color: var(--bk-ink); }
.stk-bk-done.is-wait .stk-bk-done-icon { background: var(--bk-soft); color: var(--bk-muted); }
.stk-bk-done.is-bad .stk-bk-done-icon { background: #fbeeee; color: #9c2f2f; }

.stk-bk-cancel { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--bk-line); }
.stk-bk-cancel summary { cursor: pointer; font-weight: 700; color: #9c2f2f; }
.stk-bk-cancel p { color: var(--bk-muted); font-size: 14.5px; }

/* ------------------------------------------------------- price list */

.stk-pricelist { display: grid; grid-template-columns: 1fr; gap: 28px; }

@media (min-width: 820px) {
	.stk-pricelist { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
}

.stk-pl-group { margin: 0; }

/* Loyalty reward choice and gift code */
.stk-bk-reward { margin-bottom: 18px; }
.stk-bk-code { margin: 14px 0 18px; font-size: 15px; }
.stk-bk-code summary { cursor: pointer; font-weight: 700; color: var(--bk-ink); }
.stk-bk-code-row { display: flex; gap: 8px; margin-top: 10px; }
.stk-bk-code-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--bk-line); border-radius: 12px; font: inherit; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.stk-bk-code-row input:focus { outline: 2px solid var(--bk-ink); outline-offset: 1px; }
.stk-bk-code-row .stk-bk-btn { flex: none; }
.stk-bk-code-err { margin: 8px 0 0; color: #8a3b24; font-weight: 600; }
.stk-bk-code.is-ok { padding: 12px 14px; border-radius: 12px; background: #e8f3ec; }

/* Extras after picking a service */
.stk-bk-extras { margin: 8px 0 6px; padding: 16px; border-radius: 18px; background: var(--bk-soft); display: grid; gap: 14px; animation: stk-bk-in .18s ease-out; }
.stk-bk-extras fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.stk-bk-extras legend { margin-bottom: 10px; font-weight: 700; }
.stk-bk-extras legend span { font-weight: 500; color: var(--bk-muted); }
.stk-bk-extras label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--bk-line); border-radius: 14px; background: #fff; cursor: pointer; }
.stk-bk-extras label.is-on { border-color: var(--bk-ink); box-shadow: inset 0 0 0 1px var(--bk-ink); }
.stk-bk-extras input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bk-ink); }
.stk-bk-x-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.stk-bk-x-main small, .stk-bk-x-meta small { font-size: 13px; color: var(--bk-muted); }
.stk-bk-x-meta { display: grid; justify-items: end; gap: 2px; flex: none; white-space: nowrap; }
.stk-bk-extras .stk-bk-btn { justify-self: start; }
@media (max-width: 560px) { .stk-bk-extras .stk-bk-btn { justify-self: stretch; } }
.stk-bk-sum small.is-inline { display: inline; }
@keyframes stk-bk-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stk-bk-extras { animation: none; } }
.stk-pl-extra { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--bk-soft); color: var(--bk-muted); font-size: 12px; font-weight: 600; vertical-align: 2px; }

.stk-bk-alert.is-info { background: var(--bk-soft); color: var(--bk-text); border-color: transparent; }

/* Waiting list */
.stk-bk-wl { margin: 18px 0 0; }
.stk-bk-wl > p { margin: 0; color: var(--bk-muted); font-size: 15px; }
.stk-bk-wl .stk-bk-link { font-size: 15px; }
.stk-bk-wl.is-open { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--bk-line); border-radius: 18px; background: #fff; }
.stk-bk-wl.is-open h3 { margin: 0; font-size: 17px; }
.stk-bk-wl.is-open .stk-bk-muted { margin: 0; }
.stk-bk-wl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stk-bk-wl-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .stk-bk-wl-grid, .stk-bk-wl-grid.is-two { grid-template-columns: 1fr 1fr; } .stk-bk-wl-grid .stk-bk-field:last-child:nth-child(3) { grid-column: 1 / -1; } }
.stk-bk-wl-grid .stk-bk-field { margin: 0; }
.stk-bk-wl select { width: 100%; min-height: 50px; color: var(--bk-text); font-size: 16px; padding: 0 12px; border: 1px solid var(--bk-line); border-radius: 12px; background: #fff; font: inherit; }
.stk-bk-wl.is-done { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #e8f3ec; }
.stk-bk-wl.is-done span { color: var(--bk-text); font-size: 15px; }
.stk-bk input[type="date"] { min-width: 0; appearance: none; -webkit-appearance: none; }
.stk-bk-main { min-width: 0; }
.stk-bk-wl, .stk-bk-wl-grid .stk-bk-field { min-width: 0; }
