/* School holiday camps page. Visual language follows the site: copper
   (#b78755) accents on warm neutrals, soft cards, generous tap targets.
   Every class is prefixed acnb-camp so nothing leaks into the theme. */

.acnb-camp-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 8px 0 32px;
}

/* ------------------------------- alerts ---------------------------------- */

.acnb-camp-alert {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 15px;
}

.acnb-camp-alert p { margin: 0; }

.acnb-camp-alert--error {
	background: #fee2e2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.acnb-camp-alert--notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
}

/* --------------------------- confirmation block --------------------------- */

.acnb-camp-confirm {
	margin: 0 0 24px;
	padding: 24px;
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 12px;
}

.acnb-camp-confirm h2 {
	margin: 0 0 10px;
	font-size: 24px;
	color: #065f46;
}

.acnb-camp-confirm__days {
	margin: 10px 0;
	padding-left: 22px;
}

.acnb-camp-confirm__total {
	font-weight: 700;
}

.acnb-camp-empty {
	padding: 24px;
	background: #f7f5f2;
	border-radius: 12px;
	text-align: center;
	color: #555;
}

/* ------------------------------- week card -------------------------------- */

.acnb-camp-card {
	margin: 0 0 28px;
	background: #fff;
	border: 1px solid #e7e0d8;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
	overflow: hidden;
}

.acnb-camp-card__header {
	padding: 20px 24px 16px;
	border-bottom: 3px solid #b78755;
	background: #fdfbf8;
}

.acnb-camp-card__title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 700;
	color: #24170f;
}

.acnb-camp-card__meta {
	margin: 0 0 2px;
	color: #6b5d50;
	font-size: 15px;
}

.acnb-camp-card__pricing {
	margin: 0;
	font-weight: 600;
	color: #b78755;
	font-size: 15px;
}

.acnb-camp-form {
	padding: 18px 24px 24px;
}

/* -------------------------------- day rows -------------------------------- */

.acnb-camp-days {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin: 0 0 12px;
}

.acnb-camp-day {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: #faf8f5;
	border: 1px solid #e7e0d8;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}

.acnb-camp-day:hover {
	border-color: #b78755;
}

.acnb-camp-day.is-selected {
	background: #fbf3ea;
	border-color: #b78755;
	box-shadow: inset 0 0 0 1px #b78755;
}

.acnb-camp-day.is-full,
.acnb-camp-day.is-past {
	cursor: not-allowed;
	opacity: 0.6;
	background: #f3f0ec;
}

.acnb-camp-day__box {
	width: 20px;
	height: 20px;
	accent-color: #b78755;
	flex: 0 0 auto;
}

.acnb-camp-day__name {
	flex: 1 1 auto;
	font-weight: 600;
	color: #24170f;
	font-size: 16px;
}

.acnb-camp-day__date {
	font-weight: 400;
	color: #6b5d50;
}

/* Spots badges */

.acnb-camp-day__badge {
	flex: 0 0 auto;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .2px;
	white-space: nowrap;
}

.acnb-camp-day__badge--left {
	background: #d1fae5;
	color: #065f46;
}

.acnb-camp-day__badge--full {
	background: #fee2e2;
	color: #991b1b;
}

.acnb-camp-day__badge--past {
	background: #e5e7eb;
	color: #6b7280;
}

/* ---------------------------- full-week toggle ---------------------------- */

.acnb-camp-week-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 12px;
	padding: 14px 16px;
	background: linear-gradient(135deg, #fbf3ea, #f7ead9);
	border: 1px dashed #b78755;
	border-radius: 10px;
	cursor: pointer;
	color: #24170f;
}

.acnb-camp-week-row.is-disabled {
	cursor: not-allowed;
	opacity: 0.6;
	border-style: solid;
	border-color: #e7e0d8;
	background: #f3f0ec;
}

.acnb-camp-week-toggle {
	width: 20px;
	height: 20px;
	accent-color: #b78755;
	flex: 0 0 auto;
}

.acnb-camp-week-row__save {
	color: #1e8e3e;
	font-weight: 700;
}

.acnb-camp-week-row__note {
	flex-basis: 100%;
	font-size: 13px;
	color: #6b5d50;
}

/* -------------------------------- price line ------------------------------ */

.acnb-camp-price {
	margin: 0 0 18px;
	padding: 10px 14px;
	background: #24170f;
	color: #fff;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

/* ---------------------------------- form ---------------------------------- */

.acnb-camp-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	margin: 0 0 18px;
}

.acnb-camp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.acnb-camp-field--full {
	grid-column: 1 / -1;
}

.acnb-camp-field label {
	font-size: 14px;
	font-weight: 600;
	color: #24170f;
}

.acnb-camp-field input,
.acnb-camp-field textarea {
	padding: 10px 12px;
	font-size: 16px;
	border: 1px solid #d5cabd;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	width: 100%;
	box-sizing: border-box;
}

.acnb-camp-field input:focus,
.acnb-camp-field textarea:focus {
	outline: none;
	border-color: #b78755;
	box-shadow: 0 0 0 2px rgba(183, 135, 85, .25);
}

.acnb-camp-field__hint {
	font-size: 13px;
	color: #6b5d50;
	font-weight: 400;
}

.acnb-camp-voucher input {
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* --------------------------------- submit --------------------------------- */

.acnb-camp-actions {
	text-align: right;
}

.acnb-camp-submit {
	-webkit-tap-highlight-color: transparent;
	min-height: 52px;
	padding: 14px 32px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	background: #b78755;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background .15s ease;
}

.acnb-camp-submit:hover {
	background: #a1744a;
}

.acnb-camp-submit:active {
	transform: scale(.98);
}

.acnb-camp-submit:disabled {
	background: #e5e7eb;
	color: #9ca3af;
	cursor: not-allowed;
}

/* -------------------------------- responsive ------------------------------ */

@media (max-width: 640px) {
	.acnb-camp-card__header,
	.acnb-camp-form {
		padding-left: 16px;
		padding-right: 16px;
	}

	.acnb-camp-form-grid {
		grid-template-columns: 1fr;
	}

	.acnb-camp-actions {
		text-align: stretch;
	}

	.acnb-camp-submit {
		width: 100%;
	}

	.acnb-camp-day {
		flex-wrap: wrap;
	}

	.acnb-camp-day__badge {
		margin-left: 32px;
	}
}

/* ======================================================================
 * 1.1.0 (2026-08-26): intro copy, studio → week picker, closed days
 * ====================================================================== */

/* ------------------------------- intro ---------------------------------- */

.acnb-camp-intro {
	margin: 0 0 24px;
	padding: 20px 24px;
	background: #fdfbf8;
	border: 1px solid #e7e0d8;
	border-left: 4px solid #b78755;
	border-radius: 12px;
	color: #3b2c20;
	font-size: 16px;
	line-height: 1.6;
}

.acnb-camp-intro p:last-child { margin-bottom: 0; }
.acnb-camp-intro h2, .acnb-camp-intro h3 { margin: 0 0 8px; color: #24170f; }
.acnb-camp-intro ul { padding-left: 22px; }

/* ------------------------------- picker --------------------------------- */

.acnb-camp-picker {
	margin: 0 0 24px;
	padding: 20px 24px 8px;
	background: #fff;
	border: 1px solid #e7e0d8;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.acnb-camp-picker__step {
	margin: 0 0 16px;
	transition: opacity .15s ease;
}

.acnb-camp-picker__step.is-waiting {
	opacity: .5;
}

.acnb-camp-picker__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #24170f;
}

.acnb-camp-picker__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #b78755;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.acnb-camp-picker__options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 10px;
}

.acnb-camp-picker__options[hidden] { display: none; }

.acnb-camp-pick {
	-webkit-tap-highlight-color: transparent;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	min-height: 64px;
	padding: 12px 14px;
	background: #faf8f5;
	border: 1px solid #e7e0d8;
	border-radius: 10px;
	color: #24170f;
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.acnb-camp-pick:hover {
	border-color: #b78755;
	text-decoration: none;
	color: #24170f;
}

.acnb-camp-pick.is-selected {
	background: #fbf3ea;
	border-color: #b78755;
	box-shadow: inset 0 0 0 1px #b78755;
}

.acnb-camp-pick.is-full {
	opacity: .6;
}

.acnb-camp-pick__title {
	font-weight: 700;
	font-size: 16px;
}

.acnb-camp-pick__dates {
	font-weight: 600;
	font-size: 14px;
	color: #b78755;
}

.acnb-camp-pick__sub {
	font-size: 13px;
	color: #6b5d50;
}

.acnb-camp-picker__hint {
	margin: 0;
	font-size: 14px;
	color: #6b5d50;
}

/* With JS, only the chosen week's card is shown. Without JS the class is
   never added and every card stays visible (the original layout). */

.acnb-camp-wrap.is-js .acnb-camp-card { display: none; }
.acnb-camp-wrap.is-js .acnb-camp-card.is-active { display: block; }

/* --------------------------- card extras --------------------------------- */

.acnb-camp-card__desc {
	margin: 10px 0 0;
	color: #3b2c20;
	font-size: 15px;
	line-height: 1.55;
}

.acnb-camp-card__desc p:last-child { margin-bottom: 0; }

.acnb-camp-card__closed {
	margin: 10px 0 0;
	padding: 8px 12px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	font-size: 14px;
	font-weight: 600;
}

.acnb-camp-day.is-closed {
	cursor: not-allowed;
	opacity: 0.7;
	background: #fff7ed;
	border-color: #fed7aa;
}

.acnb-camp-day__badge--closed {
	background: #ffedd5;
	color: #9a3412;
}

@media (max-width: 640px) {
	.acnb-camp-picker {
		padding-left: 16px;
		padding-right: 16px;
	}

	.acnb-camp-picker__options {
		grid-template-columns: 1fr 1fr;
	}

	.acnb-camp-picker__weeks {
		grid-template-columns: 1fr;
	}
}
