/* Tail of Chaos — Booking wizard
   Design tokens pulled from the Figma flow (cream paper, tan accents, serif type). */

.toc-booking {
	--toc-bg: #f4ede1;
	--toc-paper: #fdfaf4;
	--toc-ink: #241c12;
	--toc-ink-soft: #5c5142;
	--toc-tan: #d9a679;
	--toc-tan-deep: #c58f5d;
	--toc-olive: #b0a065;
	--toc-line: #cfc4b0;
	--toc-dark: #2b2014;
	--toc-radius: 12px;

	font-family: 'Gelasio', Georgia, serif;
	color: var(--toc-ink);
	max-width: 860px;
	margin: 0 auto;
	padding: 24px 16px 64px;
}

.toc-booking *, .toc-booking *::before, .toc-booking *::after { box-sizing: border-box; }

.toc-booking h1, .toc-booking h2, .toc-booking h3, .toc-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 500;
	color: var(--toc-ink);
	margin: 0;
}

/* ---- Progress bar -------------------------------------------------- */

.toc-progress {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	margin: 8px auto 48px;
	padding: 28px 8px;
	background: var(--toc-paper);
	border-radius: 6px;
}

.toc-progress::before {
	content: '';
	position: absolute;
	top: 50px;
	left: 9%;
	right: 9%;
	height: 1px;
	background: var(--toc-line);
}

.toc-step {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.toc-step-dot {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	font-size: 19px;
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	color: var(--toc-ink);
	transition: background .25s, border-color .25s;
}

.toc-step.is-active .toc-step-dot { background: var(--toc-tan); border-color: var(--toc-tan); color: #fff; }
.toc-step.is-done .toc-step-dot   { background: var(--toc-olive); border-color: var(--toc-olive); color: #fff; }

.toc-step-label {
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--toc-ink);
}

/* ---- Panels / titles ------------------------------------------------ */

.toc-panel { display: none; animation: toc-fade .3s ease; }
.toc-panel.is-visible { display: block; }

@keyframes toc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.toc-title { font-size: clamp(28px, 4.5vw, 40px); text-align: center; margin: 0 0 20px; }
.toc-sub   { text-align: center; color: var(--toc-ink-soft); margin: 0 0 28px; font-size: 17px; }

.toc-panel .toc-title + .toc-tip { margin-top: 40px; }

.toc-tip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: var(--toc-tan);
	color: #fff;
	border-radius: 10px;
	padding: 18px 24px;
	max-width: 560px;
	margin: 0 auto 32px;
	font-size: 15px;
	line-height: 1.55;
	text-align: center;
}

.toc-tip svg { flex: 0 0 auto; width: 26px; height: 26px; }

/* ---- Upload --------------------------------------------------------- */

.toc-dropzone {
	max-width: 520px;
	margin: 0 auto;
	border: 1.5px dashed var(--toc-ink-soft);
	border-radius: var(--toc-radius);
	background: var(--toc-paper);
	padding: 56px 24px;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, background .2s;
}

.toc-dropzone.is-drag { border-color: var(--toc-tan-deep); background: #fbf3e8; }
.toc-dropzone p { margin: 14px 0 4px; font-size: 18px; }
.toc-dropzone small { color: var(--toc-ink-soft); font-size: 12px; letter-spacing: .04em; }
.toc-dropzone svg { width: 46px; height: 46px; stroke: var(--toc-ink); }

.toc-preview { max-width: 520px; margin: 0 auto; text-align: center; }
.toc-preview img { max-width: 100%; max-height: 340px; border-radius: var(--toc-radius); border: 1px solid var(--toc-line); }
.toc-preview .toc-link { margin-top: 12px; display: inline-block; }

.toc-booking a { color: var(--toc-tan-deep); text-decoration: underline; }
.toc-booking a:hover, .toc-booking a:focus { color: var(--toc-ink); background: transparent; }

.toc-booking .toc-link,
.toc-booking button.toc-link {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	color: var(--toc-tan-deep) !important;
	font-family: 'Gelasio', Georgia, serif !important;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	cursor: pointer;
	padding: 0 !important;
	border-radius: 0;
}

.toc-booking .toc-link:hover,
.toc-booking .toc-link:focus,
.toc-booking button.toc-link:hover,
.toc-booking button.toc-link:focus {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--toc-ink) !important;
	text-decoration: underline;
}

.toc-error {
	max-width: 560px;
	margin: 16px auto 0;
	text-align: center;
	color: #a03d2e;
	font-size: 15px;
	min-height: 22px;
}

/* ---- Textarea / inputs ---------------------------------------------- */

.toc-field { max-width: 560px; margin: 0 auto 24px; }
.toc-field label { display: block; font-size: 17px; margin-bottom: 10px; font-family: 'Playfair Display', serif; }

.toc-input, .toc-textarea {
	width: 100%;
	font-family: 'Gelasio', Georgia, serif;
	font-size: 16px;
	color: var(--toc-ink);
	background: var(--toc-paper);
	border: 1px solid var(--toc-ink-soft);
	border-radius: 8px;
	padding: 14px 16px;
	outline: none;
}

.toc-input:focus, .toc-textarea:focus { border-color: var(--toc-tan-deep); box-shadow: 0 0 0 3px rgba(217,166,121,.25); }

.toc-textarea { min-height: 220px; resize: vertical; }
.toc-textarea::placeholder, .toc-input::placeholder { color: #b6ab99; }

.toc-count { text-align: right; font-size: 13px; color: var(--toc-ink-soft); margin-top: 6px; }

/* ---- Option cards (package / canvas / addons / style) --------------- */

.toc-options { max-width: 620px; margin: 0 auto; display: grid; gap: 22px; }

.toc-option {
	position: relative;
	display: block;
	background: var(--toc-paper);
	border: 1px solid var(--toc-ink-soft);
	border-radius: var(--toc-radius);
	padding: 22px 24px 22px 60px;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}

.toc-option:hover { border-color: var(--toc-tan-deep); }
.toc-option.is-selected { border-color: var(--toc-tan-deep); box-shadow: 0 0 0 2px rgba(217,166,121,.4); }

.toc-option input { position: absolute; opacity: 0; pointer-events: none; }

.toc-option .toc-radio {
	position: absolute;
	left: 22px;
	top: 26px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid var(--toc-ink-soft);
	background: #fff;
}

.toc-option.is-selected .toc-radio { border-color: var(--toc-tan-deep); }
.toc-option.is-selected .toc-radio::after {
	content: '';
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--toc-tan);
}

.toc-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.toc-option-title { font-family: 'Playfair Display', serif; font-size: 21px; }
.toc-option-price { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; white-space: nowrap; }

.toc-checklist { list-style: none; margin: 14px 0 0; padding: 0; }
.toc-checklist li {
	position: relative;
	padding-left: 30px;
	margin: 8px 0;
	color: var(--toc-tan-deep);
	font-size: 15px;
}
.toc-checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 1px;
	width: 17px;
	height: 17px;
	border: 1.5px solid var(--toc-tan-deep);
	border-radius: 50%;
}
.toc-checklist li::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 5px;
	width: 7px;
	height: 4px;
	border-left: 1.5px solid var(--toc-tan-deep);
	border-bottom: 1.5px solid var(--toc-tan-deep);
	transform: rotate(-45deg);
}

/* Add-on rows with product photo (Figma layout: image left, card right) */
.toc-addon-row {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 20px;
	align-items: stretch;
}
.toc-addon-img {
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	border-radius: 6px;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.toc-addon-img img {
	width: 100%;
	height: 100%;
	max-height: 160px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}
.toc-addon-row .toc-option { margin: 0; }

@media (max-width: 560px) {
	.toc-addon-row { grid-template-columns: 96px 1fr; gap: 12px; }
}

/* Style cards (image based) */
.toc-style-grid { max-width: 620px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.toc-style-card {
	background: var(--toc-paper);
	border: 1px solid var(--toc-ink-soft);
	border-radius: 6px;
	padding: 14px;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}
.toc-style-card.is-selected { border-color: var(--toc-tan-deep); box-shadow: 0 0 0 2px rgba(217,166,121,.4); }
.toc-style-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: #eee3d2; }
.toc-style-card .toc-style-swatch {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	color: var(--toc-ink-soft);
}
.toc-style-card h4 { font-family: 'Playfair Display', serif; font-size: 16px; margin: 14px 0 6px; font-weight: 600; }
.toc-style-card p { font-size: 13px; color: var(--toc-tan-deep); margin: 0; line-height: 1.5; }

/* ---- Review ---------------------------------------------------------- */

.toc-review { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.toc-card {
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	border-radius: var(--toc-radius);
	padding: 24px;
}
.toc-card h3 { font-size: 20px; margin-bottom: 14px; }
.toc-review img { width: 100%; border-radius: 8px; border: 1px solid var(--toc-line); }
.toc-review-row { padding: 14px 0; border-bottom: 1px solid var(--toc-line); }
.toc-review-row:last-child { border-bottom: none; }
.toc-review-row h4 { font-family: 'Playfair Display', serif; font-size: 18px; margin: 0 0 8px; display: flex; justify-content: space-between; }
.toc-review-row p { margin: 0; color: var(--toc-ink-soft); font-size: 15px; line-height: 1.6; }
.toc-review-row .toc-price { color: var(--toc-ink); font-weight: 600; }

/* ---- Calendar --------------------------------------------------------- */

.toc-calendar { max-width: 560px; margin: 0 auto; background: var(--toc-paper); border: 1px solid var(--toc-ink-soft); border-radius: var(--toc-radius); padding: 24px; }
.toc-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toc-cal-head h3 { font-size: 26px; }
.toc-cal-nav { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--toc-ink); padding: 4px 12px; }
.toc-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.toc-cal-dow { font-size: 12px; letter-spacing: .08em; color: var(--toc-ink-soft); padding: 8px 0; }
.toc-cal-day {
	font-family: 'Gelasio', serif;
	font-size: 14px;
	border: none;
	background: none;
	color: var(--toc-ink);
	padding: 10px 0;
	border-radius: 8px;
	cursor: default;
}
.toc-cal-day.is-available { background: #cdc08e; color: #fff; cursor: pointer; }
.toc-cal-day.is-available:hover { background: var(--toc-olive); }
.toc-cal-day.is-full { background: var(--toc-tan); color: #fff; opacity: .85; }
.toc-cal-day.is-muted { color: #c4b8a3; }
.toc-cal-day.is-selected { background: var(--toc-dark); color: #fff; }

.toc-legend { display: flex; justify-content: center; gap: 26px; margin: 18px auto 0; font-size: 14px; color: var(--toc-ink); flex-wrap: wrap; }
.toc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.toc-legend i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.toc-legend .i-avail { background: #cdc08e; }
.toc-legend .i-full { background: var(--toc-tan); }
.toc-legend .i-sel { background: var(--toc-dark); }

.toc-details { max-width: 560px; margin: 32px auto 0; }
.toc-details-title { font-size: 22px; text-align: center; margin-bottom: 18px; }
.toc-details-grid .toc-field { margin-bottom: 18px; }
.toc-details-grid label { font-size: 15px; }

/* Delivery step */
.toc-delivery-extra { max-width: 620px; margin: 24px auto 0; }
.toc-pickup-note {
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	border-radius: 10px;
	padding: 20px 24px;
	text-align: center;
	color: var(--toc-ink-soft);
	line-height: 1.7;
}
.toc-pickup-note strong { color: var(--toc-ink); font-family: 'Playfair Display', serif; font-size: 17px; }
.toc-delivery-form .toc-field { margin-bottom: 18px; }
select.toc-input { appearance: auto; cursor: pointer; }

.toc-delivery-note {
	max-width: 560px;
	margin: 24px auto 0;
	border: 1px solid var(--toc-tan);
	background: #f7ece0;
	border-radius: 10px;
	padding: 18px 24px;
	text-align: center;
	color: var(--toc-ink-soft);
	font-size: 15px;
}

/* ---- Buttons ---------------------------------------------------------- */

.toc-nav { display: flex; justify-content: flex-end; gap: 16px; max-width: 620px; margin: 36px auto 0; }

.toc-booking .toc-btn,
.toc-booking button.toc-btn,
.toc-booking a.toc-btn {
	font-family: 'Playfair Display', serif !important;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	border: none !important;
	border-radius: 8px;
	padding: 14px 28px;
	cursor: pointer;
	transition: background-color .15s, transform .1s;
	text-decoration: none !important;
	display: inline-block;
	box-shadow: none !important;
}
.toc-booking .toc-btn:active { transform: translateY(1px); }
.toc-booking .toc-btn:disabled { opacity: .5; cursor: not-allowed; }

.toc-booking .toc-btn-tan,
.toc-booking .toc-btn-tan:visited {
	background: var(--toc-tan) !important;
	background-color: var(--toc-tan) !important;
	color: #fff !important;
}
.toc-booking .toc-btn-tan:hover,
.toc-booking .toc-btn-tan:focus {
	background: var(--toc-tan-deep) !important;
	background-color: var(--toc-tan-deep) !important;
	color: #fff !important;
}

.toc-booking .toc-btn-dark,
.toc-booking .toc-btn-dark:visited {
	background: var(--toc-dark) !important;
	background-color: var(--toc-dark) !important;
	color: #fff !important;
}
.toc-booking .toc-btn-dark:hover,
.toc-booking .toc-btn-dark:focus {
	background: #46351f !important;
	background-color: #46351f !important;
	color: #fff !important;
}

.toc-center { text-align: center; margin-top: 28px; }

.toc-spinner {
	display: inline-block;
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: toc-spin .7s linear infinite;
	vertical-align: -3px;
	margin-right: 8px;
}
@keyframes toc-spin { to { transform: rotate(360deg); } }

/* ---- Thank-you -------------------------------------------------------- */

.toc-thankyou { text-align: center; }
.toc-thankyou .toc-next-steps { max-width: 560px; margin: 28px auto; text-align: left; }
.toc-thankyou .toc-next-steps h3 { text-align: center; }
.toc-sparkle { font-family: sans-serif; }

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 720px) {
	.toc-step-label { font-size: 10px; letter-spacing: .06em; }
	.toc-step-dot { width: 36px; height: 36px; font-size: 16px; }
	.toc-progress::before { top: 44px; }
	.toc-review { grid-template-columns: 1fr; }
	.toc-style-grid { grid-template-columns: 1fr; }
	.toc-nav { padding: 0 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.toc-panel, .toc-spinner { animation: none; }
}


/* =========================================================================
   v3 components: welcome, canvas cards, scene builder, times, summary, promo
   ====================================================================== */

/* ---- Welcome ---- */
.toc-welcome { text-align: center; padding: 40px 0 20px; }
.toc-welcome-icon {
	width: 96px; height: 96px;
	margin: 0 auto 28px;
	border-radius: 50%;
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	display: flex; align-items: center; justify-content: center;
	color: var(--toc-tan-deep);
}
.toc-welcome-icon svg { width: 44px; height: 44px; }
.toc-welcome .toc-sub { max-width: 460px; margin: 0 auto 32px; }

/* ---- Option sub-label (canvas character range) ---- */
.toc-option-sub {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--toc-ink-soft);
	letter-spacing: .02em;
}

/* ---- Chaos counter ---- */
.toc-count.is-ok { color: var(--toc-olive); }

/* ---- Scene builder ---- */
.toc-counter {
	max-width: 620px;
	margin: 0 auto 26px;
	display: flex;
	align-items: center;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
.toc-counter-bar { display: inline-flex; gap: 6px; }
.toc-counter-bar i {
	width: 26px; height: 8px;
	border-radius: 4px;
	background: #e4dbca;
	display: inline-block;
}
.toc-counter-bar i.is-used { background: var(--toc-tan); }
.toc-counter-text { font-size: 14px; color: var(--toc-ink-soft); }

.toc-scene { max-width: 620px; margin: 0 auto; }
.toc-scene-group { margin-bottom: 26px; }
.toc-scene-group > label {
	display: block;
	font-family: 'Playfair Display', serif;
	font-size: 17px;
	margin-bottom: 10px;
}
.toc-scene-group > label em { font-style: normal; font-size: 13px; color: var(--toc-ink-soft); }
.toc-scene-input { display: flex; gap: 10px; }
.toc-scene-input .toc-input { flex: 1; }
.toc-booking .toc-scene-add {
	padding: 12px 20px;
	font-size: 13px;
	white-space: nowrap;
}
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.toc-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--toc-paper);
	border: 1px solid var(--toc-tan);
	color: var(--toc-ink);
	border-radius: 20px;
	padding: 6px 8px 6px 14px;
	font-size: 15px;
}
.toc-chip button {
	background: none;
	border: none;
	color: var(--toc-tan-deep);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}
.toc-chip button:hover { color: var(--toc-ink); }

/* ---- Style grid: 3 across for six styles ---- */
.toc-style-grid { grid-template-columns: repeat(3, 1fr); max-width: 760px; gap: 20px; }
.toc-style-card h4 { font-size: 15px; }
.toc-style-card p { font-size: 12px; }

/* ---- Reserve: calendar + time slots side by side ---- */
.toc-reserve {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
	max-width: 820px;
	margin: 0 auto;
	align-items: start;
}
.toc-reserve .toc-calendar { max-width: none; margin: 0; }
.toc-times {
	background: var(--toc-paper);
	border: 1px solid var(--toc-ink-soft);
	border-radius: var(--toc-radius);
	padding: 24px;
}
.toc-times h3 { font-family: 'Playfair Display', serif; font-size: 18px; margin: 0 0 16px; text-align: center; }
.toc-times-list { display: flex; flex-direction: column; gap: 10px; }
.toc-times-empty { color: var(--toc-ink-soft); font-size: 14px; text-align: center; margin: 0; }
.toc-booking .toc-time {
	width: 100%;
	background: #fff !important;
	border: 1px solid var(--toc-line) !important;
	border-radius: 8px;
	padding: 12px 14px;
	font-family: 'Gelasio', Georgia, serif !important;
	font-size: 15px;
	color: var(--toc-ink) !important;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
.toc-booking .toc-time:hover:not(:disabled) { border-color: var(--toc-tan-deep) !important; }
.toc-booking .toc-time.is-selected {
	background: var(--toc-tan) !important;
	border-color: var(--toc-tan) !important;
	color: #fff !important;
}
.toc-booking .toc-time.is-taken {
	opacity: .45;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* ---- Price summary on review ---- */
.toc-summary {
	max-width: 820px;
	margin: 28px auto 0;
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	border-radius: var(--toc-radius);
	padding: 24px 28px;
}
.toc-summary h3 { font-size: 19px; margin-bottom: 14px; }
.toc-sum-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--toc-line);
	font-size: 16px;
}
.toc-sum-row:last-child { border-bottom: none; }
.toc-sum-row.is-discount { color: var(--toc-olive); }
.toc-sum-row.is-total {
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 20px;
	padding-top: 16px;
}

/* ---- Promo code ---- */
.toc-promo { max-width: 820px; margin: 22px auto 0; }
.toc-promo > label { display: block; font-family: 'Playfair Display', serif; font-size: 16px; margin-bottom: 10px; }
.toc-promo-row { display: flex; gap: 10px; max-width: 420px; }
.toc-promo-row .toc-input { flex: 1; text-transform: uppercase; }
.toc-promo-msg { font-size: 14px; margin: 10px 0 0; min-height: 20px; color: var(--toc-ink-soft); }
.toc-promo-msg.is-ok { color: var(--toc-olive); }
.toc-promo-msg.is-error { color: #a03d2e; }

/* ---- Confirmation reference card ---- */
.toc-ref-card { max-width: 560px; margin: 28px auto; text-align: left; }
.toc-ref-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--toc-line);
	font-size: 15px;
	color: var(--toc-ink-soft);
}
.toc-ref-row:last-child { border-bottom: none; }
.toc-ref-row strong { color: var(--toc-ink); text-align: right; }

/* ---- Preview fallback for HEIC ---- */
.toc-preview-fallback {
	background: var(--toc-paper);
	border: 1px solid var(--toc-line);
	border-radius: var(--toc-radius);
	padding: 40px 24px;
	color: var(--toc-ink);
	font-size: 18px;
	font-family: 'Playfair Display', serif;
}
.toc-preview-fallback small { display: block; margin-top: 8px; font-family: 'Gelasio', serif; font-size: 13px; color: var(--toc-ink-soft); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
	.toc-reserve { grid-template-columns: 1fr; }
	.toc-times-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}
@media (max-width: 720px) {
	.toc-style-grid { grid-template-columns: repeat(2, 1fr); }
	.toc-scene-input { flex-direction: column; }
	.toc-booking .toc-scene-add { width: 100%; }
	.toc-counter { flex-direction: column; gap: 8px; }
}
@media (max-width: 460px) {
	.toc-style-grid { grid-template-columns: 1fr; }
	.toc-step-label { font-size: 9px; }
}

/* =========================================================================
   Calendar + style colours locked to the brand (beats theme button styles)
   ====================================================================== */

.toc-booking .toc-cal-day,
.toc-booking button.toc-cal-day {
	font-family: 'Gelasio', Georgia, serif !important;
	font-size: 14px;
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	color: var(--toc-ink) !important;
	padding: 10px 0;
	border-radius: 8px !important;
	box-shadow: none !important;
	text-transform: none;
	letter-spacing: normal;
	cursor: default;
	transition: background-color .15s;
}

.toc-booking .toc-cal-day.is-muted,
.toc-booking .toc-cal-day:disabled.is-muted {
	background: transparent !important;
	background-color: transparent !important;
	color: #c4b8a3 !important;
}

.toc-booking .toc-cal-day.is-available {
	background: #cdc08e !important;
	background-color: #cdc08e !important;
	color: #fff !important;
	cursor: pointer;
}

.toc-booking .toc-cal-day.is-available:hover,
.toc-booking .toc-cal-day.is-available:focus {
	background: var(--toc-olive) !important;
	background-color: var(--toc-olive) !important;
	color: #fff !important;
}

.toc-booking .toc-cal-day.is-full,
.toc-booking .toc-cal-day:disabled.is-full {
	background: var(--toc-tan) !important;
	background-color: var(--toc-tan) !important;
	color: #fff !important;
	opacity: .85;
}

/* The selected day must always read as brand dark brown — never the theme accent. */
.toc-booking .toc-cal-day.is-selected,
.toc-booking .toc-cal-day.is-selected:hover,
.toc-booking .toc-cal-day.is-selected:focus,
.toc-booking .toc-cal-day.is-selected:active,
.toc-booking button.toc-cal-day.is-selected {
	background: var(--toc-dark) !important;
	background-color: var(--toc-dark) !important;
	color: #fff !important;
}

.toc-booking .toc-cal-day:focus-visible { outline: 2px solid var(--toc-tan-deep); outline-offset: 2px; }
.toc-booking .toc-cal-nav {
	background: transparent !important;
	border: none !important;
	color: var(--toc-ink) !important;
	box-shadow: none !important;
}
.toc-booking .toc-cal-nav:hover { color: var(--toc-tan-deep) !important; background: transparent !important; }

/* Legend dots */
.toc-legend .i-sel { background: var(--toc-dark); }

/* Production time badge on style cards */
.toc-style-days {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 12px;
	border-radius: 20px;
	background: var(--toc-paper);
	border: 1px solid var(--toc-tan);
	color: var(--toc-tan-deep);
	font-size: 12px;
	letter-spacing: .03em;
}
