/* Lengai Bookings — guest booking page. Uses the Lengai theme colours when present. */
.lb-book {
	--lbp-red: var(--shuka, #B0182A); --lbp-red-dark: var(--shuka-dark, #8C1221); --lbp-ink: var(--basalt, #2A2320);
	--lbp-muted: var(--muted, #6A5F58); --lbp-line: var(--line, #D5CCC4); --lbp-ash: var(--ash, #E6E0DA); --lbp-paper: var(--paper, #FAF8F6);
	max-width: 1100px; margin: 0 auto; color: var(--lbp-ink); font-size: 1rem;
}
.lb-book * { box-sizing: border-box; }
.lb-book h3 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 .75rem; }
.lbp-steps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: s; }
.lb-book .lbp-steps li { display: flex; align-items: center; gap: .5rem; color: var(--lbp-muted); font-weight: 500; padding: 0; border: 0; margin: 0; }
.lb-book .lbp-steps li::before { display: none; }
.lbp-steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--lbp-ash); color: var(--lbp-muted); box-shadow: inset 0 -3px 5px rgba(0,0,0,.12); }
.lbp-steps li.is-on { color: var(--lbp-ink); } .lbp-steps li.is-on span { background: var(--lbp-red); color: #fff; }
.lbp-steps li.is-done span { background: #3F7A45; color: #fff; }
.lbp-card { background: #fff; border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 14px 40px rgba(42,35,32,.08); border-top: 6px solid var(--lbp-red); }
.lbp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1rem; }
.lbp-grid--2 { grid-template-columns: 1fr 1fr; }
.lb-book label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .92rem; margin-bottom: 1rem; }
.lbp-grid label { margin-bottom: 0; }
.lb-book input, .lb-book select, .lb-book textarea { font: inherit; font-weight: 400; color: var(--lbp-ink); border: 1.5px solid var(--lbp-line); border-radius: 8px; padding: .75rem .85rem; background: #fff; width: 100%; min-height: 48px; }
.lb-book input:focus, .lb-book select:focus, .lb-book textarea:focus { border-color: #2156A8; outline: 3px solid rgba(33,86,168,.2); outline-offset: 0; }
.lb-book .lbp-check { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 500; }
.lb-book .lbp-check input { width: 20px; min-height: 20px; height: 20px; margin-top: .15rem; accent-color: var(--lbp-red); flex: none; }
.lbp-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.lbp-row--start { justify-content: flex-start; }
.lbp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 2px solid var(--lbp-red); background: var(--lbp-red); color: #fff; font: 700 1rem inherit; font-family: inherit; padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer; text-decoration: none; }
.lbp-btn:hover { background: var(--lbp-red-dark); border-color: var(--lbp-red-dark); color: #fff; }
.lbp-btn--ghost { background: transparent; color: var(--lbp-ink); border-color: var(--lbp-line); }
.lbp-btn--ghost:hover { background: var(--lbp-ash); color: var(--lbp-ink); border-color: var(--lbp-ink); }
.lbp-btn:disabled { opacity: .6; cursor: wait; }
.lbp-cur { display: inline-flex; background: var(--lbp-ash); border-radius: 999px; padding: 4px; }
.lbp-cur button { border: 0; background: none; font: 700 .85rem inherit; font-family: inherit; padding: .45rem .9rem; border-radius: 999px; cursor: pointer; color: var(--lbp-muted); }
.lbp-cur button[aria-pressed="true"] { background: #fff; color: var(--lbp-ink); box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.lbp-small { font-size: .88rem; color: var(--lbp-muted); font-weight: 400; margin: .75rem 0 0; }
.lbp-error { color: var(--lbp-red); font-weight: 700; margin: .75rem 0 0; }
.lbp-notice { background: #FCF1D4; border-left: 5px solid #EDB52B; padding: .9rem 1.1rem; border-radius: 8px; margin: 0 0 1rem; }
.lbp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lbp-bar { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; background: #fff; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }

.lbp-rooms { display: grid; gap: 1rem; }
.lbp-room { display: grid; grid-template-columns: 240px 1fr 230px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(42,35,32,.06); }
.lbp-room__img { position: relative; background: var(--lbp-red) center / cover no-repeat; min-height: 170px; background-image: repeating-linear-gradient(90deg, #C8141F 0 16px, #8C1221 16px 22px, #2156A8 22px 24px, #C8141F 24px 40px); }
.lbp-tag { position: absolute; left: .75rem; top: .75rem; background: #fff; color: var(--lbp-red); font-weight: 700; font-size: .8rem; padding: .25rem .65rem; border-radius: 999px; }
.lbp-room__body { padding: 1.25rem 1.5rem; }
.lbp-room__body h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.lbp-room__body p { margin: 0; color: #433A35; }
.lbp-room__buy { padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; gap: .9rem; border-left: 1px dashed var(--lbp-line); }
.lbp-price { font-family: var(--serif, Georgia, serif); font-size: 1.7rem; line-height: 1.1; }
.lbp-price small { display: block; font-family: var(--sans, sans-serif); font-size: .82rem; color: var(--lbp-muted); margin-top: .25rem; line-height: 1.35; }
.lbp-room.is-off { opacity: .55; } .lbp-off { color: var(--lbp-muted); font-weight: 700; margin: 0; }

.lbp-two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; align-items: start; }
.lbp-summary { position: sticky; top: 110px; border-top-color: #2156A8; }
.lbp-summary p { margin: 0 0 .5rem; }
.lbp-summary__img { aspect-ratio: 16 / 9; border-radius: 10px; background: center / cover; margin-bottom: 1rem; }
.lbp-total { display: flex; justify-content: space-between; align-items: flex-start; border-top: 2px solid var(--lbp-ink); padding-top: .75rem; margin-top: 1rem; font-weight: 700; font-size: 1.2rem; }
.lbp-total small { display: block; font-weight: 400; font-size: .85rem; color: var(--lbp-muted); text-align: right; }
.lbp-pay { background: var(--lbp-paper); border-left: 4px solid #2156A8; padding: .9rem 1.1rem; border-radius: 8px; margin-bottom: 1rem; }
.lbp-pay p { margin: .3rem 0 0; font-size: .95rem; }
.lbp-done { text-align: left; border-top-color: #3F7A45; }
.lbp-done__beads { height: 12px; margin: -1rem 0 1.25rem; border-radius: 6px; background: repeating-linear-gradient(90deg, #C8141F 0 12px, #F3EFEA 12px 18px, #2156A8 18px 30px, #F3EFEA 30px 36px, #EDB52B 36px 44px, #3F7A45 44px 52px, #F3EFEA 52px 58px); }
.lbp-done h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--lbp-red); }
.lbp-ref { font-size: 1.15rem; }
.lbp-dl { display: grid; grid-template-columns: 120px 1fr; gap: .45rem 1rem; margin: 1rem 0 1.25rem; }
.lbp-dl dt { color: var(--lbp-muted); } .lbp-dl dd { margin: 0; }
.lbp-loading { display: flex; gap: .5rem; justify-content: center; padding: 3rem 0; }
.lbp-loading span { width: 14px; height: 14px; border-radius: 50%; background: #C8141F; animation: lbp-bead 1s ease-in-out infinite; }
.lbp-loading span:nth-child(2) { background: #2156A8; animation-delay: .15s; } .lbp-loading span:nth-child(3) { background: #EDB52B; animation-delay: .3s; }
@keyframes lbp-bead { 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
	.lbp-grid { grid-template-columns: 1fr 1fr; }
	.lbp-room { grid-template-columns: 1fr; }
	.lbp-room__img { min-height: 190px; }
	.lbp-room__buy { border-left: 0; border-top: 1px dashed var(--lbp-line); flex-direction: row; align-items: center; justify-content: space-between; }
	.lbp-two { grid-template-columns: 1fr; }
	.lbp-summary { position: static; order: -1; }
}
@media (max-width: 520px) {
	.lbp-grid, .lbp-grid--2 { grid-template-columns: 1fr; }
	.lbp-room__buy { flex-direction: column; align-items: stretch; }
	.lbp-dl { grid-template-columns: 90px 1fr; }
	.lbp-row .lbp-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .lbp-loading span { animation: none; } }

/* ==========================================================================
   Maasai look: dried hide, shuka cloth, beads on a leather string
   ========================================================================== */
.lb-book {
	--lbp-hide: url("../assets/hide.svg");
	--lbp-cow: url("../assets/cowhide.svg");
	--lbp-stitch: #7A5436;
	position: relative;
	padding: clamp(1.25rem, 3.5vw, 2.75rem);
	background: linear-gradient(rgba(214,180,136,.15), rgba(214,180,136,.15)), var(--lbp-hide);
	background-size: auto, 420px 420px;
	border-radius: 38px 52px 34px 48px / 48px 34px 52px 38px;
	outline: 2px dashed var(--lbp-stitch); outline-offset: -12px;
	box-shadow: inset 0 0 0 6px rgba(122,84,54,.25), inset 0 0 60px rgba(90,58,32,.35), 0 20px 50px rgba(60,35,15,.18);
}
/* Small cowhide rug in the corner */
.lb-book::after {
	content: ""; position: absolute; right: -18px; top: -26px; width: 104px; height: 104px;
	background: var(--lbp-cow) center / contain no-repeat; transform: rotate(14deg);
	filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); pointer-events: none;
}

/* Steps: beads threaded on a leather string */
.lb-book .lbp-steps { position: relative; gap: .5rem 2rem; padding: .25rem .5rem; }
.lb-book .lbp-steps::before {
	content: ""; position: absolute; left: .5rem; right: .5rem; top: calc(.25rem + 15px); height: 4px; border-radius: 4px; z-index: 0;
	background: linear-gradient(180deg, #8A5A34, #5A3A22); box-shadow: 0 1px 0 rgba(255,255,255,.3);
}
.lb-book .lbp-steps li { position: relative; z-index: 1; background: transparent; }
.lb-book .lbp-steps li span {
	width: 32px; height: 32px; color: #5A3A22; border: 2px solid #5A3A22;
	background: radial-gradient(circle at 35% 30%, #fff 0 18%, #F3EFEA 30%, #D8CFC4 100%);
	box-shadow: 0 3px 6px rgba(0,0,0,.25);
}
.lb-book .lbp-steps li.is-on span { background: radial-gradient(circle at 35% 30%, #FF8A8A 0 14%, #C8141F 45%, #7A0B13 100%); color: #fff; border-color: #5A0A10; }
.lb-book .lbp-steps li.is-done span { background: radial-gradient(circle at 35% 30%, #B6E0B0 0 14%, #3F7A45 50%, #1F4A25 100%); color: #fff; border-color: #1F4A25; }
.lb-book .lbp-steps li { color: #4A3222; font-weight: 700; }
.lb-book .lbp-steps li:not(.is-on):not(.is-done) { color: #6B4E36; }

/* Cards: lighter hide with laced stitching */
.lb-book .lbp-card, .lb-book .lbp-bar {
	background: linear-gradient(rgba(252,246,236,.9), rgba(252,246,236,.9)), var(--lbp-hide);
	background-size: auto, 420px 420px;
	border-top: 0; border-radius: 22px 28px 20px 26px / 26px 20px 28px 22px;
	outline: 1.5px dashed rgba(122,84,54,.6); outline-offset: -8px;
	box-shadow: 0 10px 26px rgba(60,35,15,.16), inset 0 0 30px rgba(170,120,70,.12);
}
.lb-book .lbp-card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.lb-book .lbp-bar { padding: 1.1rem 1.4rem; }
.lb-book .lbp-summary { outline-color: rgba(33,86,168,.5); }
.lb-book input, .lb-book select, .lb-book textarea { background: #FFFDF9; border-color: #C9B08E; }

/* Buttons: red shuka check */
.lb-book .lbp-btn {
	border-color: #7A0B13; text-shadow: 0 1px 1px rgba(0,0,0,.4);
	background-color: #C8141F;
	background-image:
		repeating-linear-gradient(90deg, transparent 0 14px, rgba(30,6,8,.32) 14px 20px, transparent 20px 23px, rgba(35,64,143,.55) 23px 24px, transparent 24px 34px),
		repeating-linear-gradient(0deg, transparent 0 14px, rgba(30,6,8,.32) 14px 20px, transparent 20px 23px, rgba(35,64,143,.55) 23px 24px, transparent 24px 34px);
}
.lb-book .lbp-btn:hover { background-color: #9E0F19; border-color: #5A0A10; }
.lb-book .lbp-btn--ghost { background: rgba(255,253,249,.7); color: #3A2418; border-color: #A98763; text-shadow: none; background-image: none; }
.lb-book .lbp-btn--ghost:hover { background: #fff; color: #3A2418; border-color: #5A3A22; }
.lb-book .lbp-cur { background: rgba(90,58,34,.15); }

/* Room cards: a strip of shuka on the side */
.lb-book .lbp-room { position: relative; padding-left: 18px; border-radius: 18px; background: #FFFDF9; box-shadow: 0 10px 26px rgba(60,35,15,.16); }
.lb-book .lbp-room::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px;
	background-color: var(--sk, #C8141F);
	background-image:
		repeating-linear-gradient(90deg, transparent 0 5px, rgba(20,6,8,.35) 5px 9px, transparent 9px 11px, var(--sk2, rgba(35,64,143,.7)) 11px 12px, transparent 12px 18px),
		repeating-linear-gradient(0deg, transparent 0 10px, rgba(20,6,8,.35) 10px 16px, transparent 16px 19px, var(--sk2, rgba(35,64,143,.7)) 19px 20px, transparent 20px 28px);
}
.lb-book .lbp-room:nth-child(3n+2) { --sk: #2552B8; --sk2: rgba(200,20,31,.8); }
.lb-book .lbp-room:nth-child(3n) { --sk: #5B2A86; --sk2: rgba(237,181,43,.8); }
.lb-book .lbp-room__buy { border-left-color: rgba(122,84,54,.4); }

/* Price on a leather tag with a bead */
.lb-book .lbp-price {
	position: relative; align-self: flex-start; color: #FBF1E2; padding: .7rem 1rem .7rem 1.9rem;
	background: linear-gradient(rgba(92,52,24,.72), rgba(70,38,16,.82)), var(--lbp-hide); background-size: auto, 420px 420px;
	clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
	border-radius: 0 8px 8px 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25));
}
.lb-book .lbp-price::before {
	content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #FFE08A 0 20%, #EDB52B 50%, #A57612 100%);
}
.lb-book .lbp-price small { color: #EAD7BD; }

/* Confirmation: a hide certificate */
.lb-book .lbp-done {
	background: linear-gradient(rgba(248,236,216,.82), rgba(248,236,216,.82)), var(--lbp-hide); background-size: auto, 420px 420px;
	outline: 2px dashed #7A5436; outline-offset: -12px; position: relative; overflow: hidden;
}
.lb-book .lbp-done::after {
	content: ""; position: absolute; right: 18px; bottom: 18px; width: 90px; height: 90px; opacity: .9;
	background: var(--lbp-cow) center / contain no-repeat; transform: rotate(-12deg);
}
.lb-book .lbp-done__beads { height: 16px; margin: -.6rem 0 1.25rem; box-shadow: 0 2px 0 #5A3A22; }
.lb-book .lbp-notice { background: rgba(252,241,212,.92); }

@media (max-width: 640px) {
	.lb-book { border-radius: 24px 30px 22px 28px / 28px 22px 30px 24px; padding: 1rem .75rem 1.25rem; outline-offset: -7px; }
	.lb-book::after { width: 70px; height: 70px; right: -8px; top: -18px; }
	.lb-book .lbp-steps { gap: .5rem 1rem; font-size: .88rem; }
	.lb-book .lbp-steps::before { display: none; }
	.lb-book .lbp-room { padding-left: 0; padding-top: 14px; }
	.lb-book .lbp-room::before { width: auto; right: 0; bottom: auto; height: 14px; }
	.lb-book .lbp-done::after { width: 60px; height: 60px; }
}
.lb-book .lbp-steps li { background: linear-gradient(rgba(252,246,236,.95), rgba(252,246,236,.95)); padding: .15rem .8rem .15rem .15rem; border-radius: 999px; box-shadow: 0 2px 5px rgba(60,35,15,.2); }

/* ---------- Groups ---------- */
.lbp-kind { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.lbp-kind__label { font-weight: 700; margin-right: .5rem; }
.lbp-kind button { border: 2px solid #A98763; background: rgba(255,253,249,.8); color: #3A2418; font: 700 .95rem inherit; font-family: inherit; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; }
.lbp-kind button[aria-pressed="true"] { border-color: #5A0A10; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.4); background-color: #C8141F;
	background-image: repeating-linear-gradient(90deg, transparent 0 14px, rgba(30,6,8,.32) 14px 20px, transparent 20px 34px), repeating-linear-gradient(0deg, transparent 0 14px, rgba(30,6,8,.32) 14px 20px, transparent 20px 34px); }
.lbp-kind__note { margin: -.4rem 0 1rem; }
.lbp-intro { font-weight: 700; margin: 0 0 1rem; }
.lbp-room.is-picked { box-shadow: 0 0 0 3px #C8141F, 0 10px 26px rgba(60,35,15,.16); }
.lbp-stepper { display: inline-flex; align-items: center; border: 2px solid #A98763; border-radius: 999px; overflow: hidden; background: #FFFDF9; align-self: flex-start; }
.lbp-stepper button { width: 44px; height: 44px; border: 0; background: #F1E3CC; font: 700 1.4rem inherit; cursor: pointer; color: #3A2418; }
.lbp-stepper button:hover:not(:disabled) { background: #E2C79E; }
.lbp-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.lbp-stepper output { min-width: 70px; text-align: center; font: 700 1.2rem/1 inherit; font-family: inherit; }
.lbp-stepper output small { display: block; font-size: .7rem; font-weight: 500; color: var(--lbp-muted); margin-top: .15rem; }
.lbp-groupbar { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
	padding: 1rem 1.25rem; border-radius: 16px; color: #FBF1E2; box-shadow: 0 14px 30px rgba(0,0,0,.3);
	background: linear-gradient(rgba(70,40,20,.9), rgba(55,30,14,.94)), var(--lbp-hide); background-size: auto, 420px 420px; outline: 1.5px dashed rgba(251,241,226,.5); outline-offset: -6px; }
.lbp-groupbar span { display: block; margin-top: .2rem; font-family: var(--serif, Georgia, serif); font-size: 1.3rem; }
.lbp-groupbar small { font-family: var(--sans, sans-serif); font-size: .85rem; color: #EAD7BD; }
.lbp-groupbar .lbp-btn:disabled { opacity: .5; cursor: not-allowed; }
.lbp-lines { list-style: none; margin: .75rem 0 0; padding: 0; }
.lb-book .lbp-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed rgba(122,84,54,.35); margin: 0; }
.lbp-lines li::before { display: none; }
.lbp-lines small { color: var(--lbp-muted); }
.lb-book h3 + .lbp-grid { margin-bottom: 1.5rem; }
