/* Assoued Booking – booking form. Override the variables in your theme to match the site. */
.assoued-bk {
	--abk-text: #2b2a28;
	--abk-muted: #7a766f;
	--abk-bg: #ffffff;
	--abk-soft: #f3f0eb;
	--abk-line: #dcd7cf;
	--abk-accent: #2b2a28;
	--abk-on-accent: #ffffff;
	--abk-error: #b3261e;
	--abk-radius: 12px;
	max-width: 520px;
	margin: 0 auto;
	color: var(--abk-text);
	font-size: 15px;
	line-height: 1.5;
}
.assoued-bk *, .assoued-bk *::before, .assoued-bk *::after { box-sizing: border-box; }
.assoued-bk button { font: inherit; color: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; }
.assoued-bk button:disabled { cursor: default; opacity: .4; }
.assoued-bk button:focus-visible, .assoued-bk input:focus-visible, .assoued-bk textarea:focus-visible { outline: 2px solid var(--abk-accent); outline-offset: 2px; }

.assoued-bk-card { background: var(--abk-bg); border: 1px solid var(--abk-line); border-radius: var(--abk-radius); padding: 20px; }
.assoued-bk-title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--abk-text); }
.assoued-bk-sub { margin: 2px 0 0; color: var(--abk-muted); }
.assoued-bk-progress { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; font-size: 13px; color: var(--abk-muted); }
.assoued-bk-stepno { white-space: nowrap; }
.assoued-bk-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--abk-soft); overflow: hidden; }
.assoued-bk-bar i { display: block; height: 100%; background: var(--abk-accent); border-radius: 3px; transition: width .3s; }

.assoued-bk-muted { color: var(--abk-muted); }
.assoued-bk-center { text-align: center; }
.assoued-bk-note { padding: 12px; background: var(--abk-soft); border-radius: 8px; }

/* service groups + lists */
.assoued-bk-group { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 14px; margin: 0 0 8px; background: var(--abk-soft); border: 1px solid transparent; border-radius: 8px; font-weight: 600; text-align: left; }
.assoued-bk-group:hover { border-color: var(--abk-line); }
.assoued-bk-chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin: -4px 4px 0 0; }
.assoued-bk-group.is-open .assoued-bk-chev { transform: rotate(-135deg); margin-top: 4px; }
.assoued-bk-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.assoued-bk-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; background: var(--abk-soft); border: 1px solid transparent; border-radius: 8px; text-align: left; }
.assoued-bk-item:hover { border-color: var(--abk-line); }
.assoued-bk-item.is-on { border-color: var(--abk-accent); background: var(--abk-bg); }
.assoued-bk-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.assoued-bk-item-body strong { font-weight: 600; }
.assoued-bk-desc { font-size: 13px; color: var(--abk-muted); }
.assoued-bk-meta { font-size: 13px; margin-top: 2px; }
.assoued-bk-img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.assoued-bk-img.is-round { border-radius: 50%; }
.assoued-bk-check { width: 20px; height: 20px; flex: none; border: 1.5px solid var(--abk-muted); border-radius: 4px; position: relative; }
.assoued-bk-check.is-round { border-radius: 50%; }
.assoued-bk-check.is-on { background: var(--abk-accent); border-color: var(--abk-accent); }
.assoued-bk-check.is-on::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--abk-on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.assoued-bk-total { text-align: right; margin-top: 8px; }

/* calendar */
.assoued-bk-cal { background: var(--abk-soft); border-radius: 8px; padding: 12px; }
.assoued-bk-cal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 8px; }
.assoued-bk-arrow { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; font-size: 22px; line-height: 1; }
.assoued-bk-arrow:hover:not(:disabled) { background: var(--abk-bg); }
.assoued-bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.assoued-bk-dow { font-size: 12px; color: var(--abk-muted); padding: 4px 0; }
.assoued-bk-day { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; max-width: 44px; width: 100%; margin: 0 auto; border-radius: 50%; font-size: 14px; color: var(--abk-line); border: 0; background: transparent; padding: 0; }
.assoued-bk-day.is-free { color: var(--abk-text); background: var(--abk-bg); font-weight: 600; }
.assoued-bk-day.is-free:hover { box-shadow: inset 0 0 0 1px var(--abk-accent); }
.assoued-bk-day.is-on { background: var(--abk-accent); color: var(--abk-on-accent); }
.assoued-bk-when { margin: 16px 0 8px; font-weight: 600; }
.assoued-bk-when::first-letter { text-transform: uppercase; }
.assoued-bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.assoued-bk-time { padding: 8px 0; border: 1px solid var(--abk-text); border-radius: 6px; background: var(--abk-bg); font-weight: 600; font-size: 14px; }
.assoued-bk-time:hover { background: var(--abk-soft); }
.assoued-bk-time.is-on { background: var(--abk-accent); border-color: var(--abk-accent); color: var(--abk-on-accent); }

/* details */
.assoued-bk-field { display: block; margin-bottom: 12px; }
.assoued-bk-field span { display: block; font-size: 13px; color: var(--abk-muted); margin-bottom: 4px; }
.assoued-bk-field input, .assoued-bk-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--abk-line); border-radius: 8px; background: var(--abk-soft); color: var(--abk-text); font: inherit; }
.assoued-bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* summary */
.assoued-bk-sum { border-top: 1px solid var(--abk-line); }
.assoued-bk-sum-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--abk-line); align-items: start; }
.assoued-bk-sum-row > span:nth-child(2)::first-letter { text-transform: uppercase; }
.assoued-bk-link { border: 0; background: none; padding: 0; text-decoration: underline; font-size: 13px; color: var(--abk-muted); }

/* done */
.assoued-bk-done { text-align: center; padding: 12px 0; }
.assoued-bk-done p::first-letter { text-transform: uppercase; }
.assoued-bk-done-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: var(--abk-accent); color: var(--abk-on-accent); font-size: 26px; margin-bottom: 8px; }

/* nav */
.assoued-bk-error { color: var(--abk-error); margin: 12px 0 0; font-size: 14px; }
.assoued-bk-nav { display: flex; gap: 12px; margin-top: 20px; }
.assoued-bk-btn { flex: 1; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--abk-text); background: var(--abk-bg); font-weight: 600; }
.assoued-bk-btn.is-primary { background: var(--abk-accent); border-color: var(--abk-accent); color: var(--abk-on-accent); }
.assoued-bk-btn:hover:not(:disabled) { opacity: .85; }

@media (max-width: 480px) {
	.assoued-bk-card { padding: 14px; }
	.assoued-bk-sum-row { grid-template-columns: 1fr auto; }
	.assoued-bk-sum-row > span:first-child { grid-column: 1 / -1; }
}
