/*
 * Thulani Reservations: booking enquiry form.
 * Every selector starts with `.thr:not(#_)` so it outranks the Elementor kit's
 * element rules (e.g. `.elementor-kit-8 input:not([type=button])`) without !important.
 */

.thr:not(#_) {
	--thr-brown: #502e20;
	--thr-olive: #384530;
	--thr-gold: #b89a5c;
	--thr-gold-ink: #85662d;
	--thr-sand: #f6f3ee;
	--thr-sand-2: #efe8de;
	--thr-card: #fffdf8;
	--thr-paper: #fff;
	--thr-grey: #5e5e51;
	--thr-ink: #18150f;
	--thr-line: #8c8476;
	--thr-hair: rgba(80, 46, 32, 0.12);
	--thr-error: #a23b2a;
	--thr-error-bg: #f8ece8;
	--thr-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--thr-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--thr-ease: cubic-bezier(0.16, 1, 0.3, 1);

	position: relative;
	container-type: inline-size;
	max-width: 920px;
	margin-inline: auto;
	padding: clamp(36px, 6vw, 76px) clamp(22px, 6vw, 84px) clamp(36px, 6vw, 76px);
	background: var(--thr-card);
	border: 1px solid rgba(80, 46, 32, 0.1);
	box-shadow:
		0 22px 44px -28px rgba(80, 46, 32, 0.55),
		0 8px 18px -14px rgba(24, 21, 15, 0.2);
	color: var(--thr-ink);
	font-family: var(--thr-sans);
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	caret-color: var(--thr-brown);
	-webkit-font-smoothing: antialiased;
}

.thr:not(#_) *,
.thr:not(#_) *::before,
.thr:not(#_) *::after {
	box-sizing: border-box;
}

.thr:not(#_) ::selection {
	background: rgba(184, 154, 92, 0.32);
	color: var(--thr-ink);
}

.thr:not(#_) [hidden] {
	display: none !important;
}

.thr:not(#_) svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.thr:not(#_) a {
	color: var(--thr-brown);
	font: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(80, 46, 32, 0.4);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}

.thr:not(#_) a:hover {
	color: var(--thr-brown);
	text-decoration-color: currentColor;
}

.thr:not(#_) a:focus-visible {
	outline: 2px solid var(--thr-brown);
	outline-offset: 2px;
	border-radius: 1px;
}

/* ---------------------------------------------------------------- Sections */

.thr:not(#_) .thr-form {
	margin: 0;
}

.thr:not(#_) .thr-letterhead {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: min(100%, 196px);
	margin: 0 auto 48px;
	color: var(--thr-gold);
}

.thr:not(#_) .thr-letterhead__rule {
	flex: 1;
	height: 1px;
	background: var(--thr-gold);
}

.thr:not(#_) .thr-letterhead__stars {
	display: block;
	width: 74px;
	height: 14px;
	flex: none;
	fill: var(--thr-gold);
	stroke: none;
}

.thr:not(#_) .thr-letterhead__stars path {
	fill: var(--thr-gold);
	stroke: none;
}

.thr:not(#_) .thr-section {
	margin: 0 0 clamp(40px, 6vw, 56px);
	padding: 0;
	border: 0;
	min-width: 0;
}

.thr:not(#_) .thr-section__title {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 0 22px;
	padding: 0;
	color: var(--thr-brown);
	font-family: var(--thr-serif);
	font-size: clamp(30px, 3.8vw, 38px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.005em;
}

.thr:not(#_) .thr-section__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(184, 154, 92, 0.95), rgba(184, 154, 92, 0.15));
}

.thr:not(#_) .thr-section__title + * {
	clear: both;
}

.thr:not(#_) .thr-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px 32px;
}

@container (min-width: 520px) {
	.thr:not(#_) .thr-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.thr:not(#_) .thr-field--textarea {
		grid-column: 1 / -1;
	}
}

@container (min-width: 760px) {
	.thr:not(#_) .thr-section--stay .thr-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------ Fields */

.thr:not(#_) .thr-field {
	position: relative;
	min-width: 0;
}

.thr:not(#_) .thr-label {
	display: block;
	margin: 0 0 4px;
	color: var(--thr-grey);
	font-family: var(--thr-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	vertical-align: baseline;
	cursor: pointer;
}

.thr:not(#_) .thr-req {
	margin-left: 3px;
	color: var(--thr-gold-ink);
	font-weight: 600;
}

.thr:not(#_) .thr-input {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--thr-line);
	border-radius: 0;
	box-shadow: none;
	outline: 0;
	color: var(--thr-ink);
	font-family: var(--thr-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s, box-shadow 0.25s var(--thr-ease);
}

.thr:not(#_) .thr-input::placeholder {
	color: #6c6a5f;
	font-weight: 400;
	opacity: 1;
}

.thr:not(#_) .thr-input:hover {
	border-bottom-color: var(--thr-grey);
}

.thr:not(#_) .thr-input:focus,
.thr:not(#_) .thr-input:focus-visible {
	border-bottom-color: var(--thr-brown);
	box-shadow: 0 1px 0 0 var(--thr-brown);
	outline: 0;
}

.thr:not(#_) .thr-input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px var(--thr-card) inset;
	-webkit-text-fill-color: var(--thr-ink);
}

.thr:not(#_) .thr-textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.6;
	scrollbar-width: thin;
	scrollbar-color: var(--thr-gold) transparent;
}

/* Selects with a drawn chevron. */
.thr:not(#_) .thr-select {
	position: relative;
}

.thr:not(#_) .thr-select::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -6px;
	border-right: 1.5px solid var(--thr-brown);
	border-bottom: 1.5px solid var(--thr-brown);
	transform: rotate(45deg);
	pointer-events: none;
}

.thr:not(#_) .thr-select .thr-input {
	padding-right: 28px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.thr:not(#_) .thr-select .thr-input:invalid,
.thr:not(#_) .thr-select .thr-input.is-empty {
	color: #6c6a5f;
	font-weight: 400;
}

.thr:not(#_) .thr-select option {
	color: var(--thr-ink);
	font-weight: 500;
}

/* Date input with calendar trigger. */
.thr:not(#_) .thr-date {
	position: relative;
}

.thr:not(#_) .thr-date .thr-input {
	padding-right: 40px;
	font-variant-numeric: tabular-nums;
}

.thr:not(#_) .thr-date__btn {
	position: absolute;
	right: -8px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--thr-brown);
	cursor: pointer;
	transition: background-color 0.2s;
}

.thr:not(#_) .thr-date__btn svg {
	width: 19px;
	height: 19px;
	stroke-width: 1.4;
}

.thr:not(#_) .thr-date__btn:hover,
.thr:not(#_) .thr-date__btn[aria-expanded="true"] {
	background: var(--thr-sand-2);
	color: var(--thr-brown);
}

.thr:not(#_) .thr-date__btn:focus-visible {
	outline: 2px solid var(--thr-brown);
	outline-offset: -2px;
}

/* Steppers: native select framed by minus/plus once JS is running. */
.thr:not(#_) .thr-stepper {
	display: flex;
	align-items: center;
	gap: 6px;
	border-bottom: 1px solid var(--thr-line);
	transition: border-color 0.2s, box-shadow 0.25s var(--thr-ease);
}

.thr:not(#_) .thr-stepper:hover {
	border-bottom-color: var(--thr-grey);
}

.thr:not(#_) .thr-stepper:focus-within {
	border-bottom-color: var(--thr-brown);
	box-shadow: 0 1px 0 0 var(--thr-brown);
}

.thr:not(#_) .thr-stepper .thr-select {
	flex: 1;
	min-width: 0;
}

.thr:not(#_) .thr-stepper .thr-input,
.thr:not(#_) .thr-stepper .thr-input:focus {
	border-bottom: 0;
	box-shadow: none;
}

.thr:not(#_).is-js .thr-select--stepper::after {
	display: none;
}

.thr:not(#_).is-js .thr-select--stepper .thr-input {
	padding: 10px 0;
	text-align: center;
	text-align-last: center;
	font-size: 18px;
	font-variant-numeric: tabular-nums;
}

.thr:not(#_) .thr-stepper__btn {
	display: none;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 1px solid rgba(80, 46, 32, 0.28);
	border-radius: 50%;
	color: var(--thr-brown);
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.thr:not(#_).is-js .thr-stepper__btn {
	display: grid;
}

.thr:not(#_) .thr-stepper__btn svg {
	width: 12px;
	height: 12px;
	stroke-width: 1.6;
}

.thr:not(#_) .thr-stepper__btn:hover:not(:disabled) {
	background: var(--thr-brown);
	border-color: var(--thr-brown);
	color: #fff;
}

.thr:not(#_) .thr-stepper__btn:focus-visible {
	outline: 2px solid var(--thr-brown);
	outline-offset: 2px;
}

.thr:not(#_) .thr-stepper__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Nights hint under the stay grid. */
.thr:not(#_) .thr-nights {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 0;
	color: var(--thr-olive);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.thr:not(#_) .thr-nights::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--thr-gold);
}

/* ------------------------------------------------------------------ Errors */

.thr:not(#_) .thr-error {
	margin: 8px 0 0;
	color: var(--thr-error);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	animation: thr-rise 0.35s var(--thr-ease);
}

.thr:not(#_) .is-invalid .thr-input,
.thr:not(#_) .is-invalid .thr-stepper {
	border-bottom-color: var(--thr-error);
}

.thr:not(#_) .is-invalid .thr-input:focus,
.thr:not(#_) .is-invalid .thr-stepper:focus-within {
	box-shadow: 0 1px 0 0 var(--thr-error);
}

.thr:not(#_) .is-invalid .thr-stepper .thr-input {
	border-bottom: 0;
}

.thr:not(#_) .is-invalid .thr-label {
	color: var(--thr-error);
}

.thr:not(#_) .thr-alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 40px;
	padding: 16px 20px;
	background: var(--thr-error-bg);
	border: 1px solid rgba(162, 59, 42, 0.3);
	color: #8a3222;
	outline: 0;
	animation: thr-rise 0.4s var(--thr-ease);
}

.thr:not(#_) .thr-alert[hidden] {
	display: none;
}

.thr:not(#_) .thr-alert svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	stroke-width: 1.6;
}

.thr:not(#_) .thr-alert__text {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

.thr:not(#_) .thr-alert:focus-visible {
	outline: 2px solid #8a3222;
	outline-offset: 2px;
}

/* ----------------------------------------------------------------- Consent */

.thr:not(#_) .thr-field--consent {
	margin: 0 0 40px;
	padding-top: 4px;
}

.thr:not(#_) .thr-check {
	position: absolute;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.thr:not(#_) .thr-consent {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	color: var(--thr-grey);
	font-family: var(--thr-sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.thr:not(#_) .thr-check__box {
	flex: none;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	background: var(--thr-paper);
	border: 1px solid var(--thr-line);
	border-radius: 2px;
	color: #fff;
	transition: background-color 0.2s, border-color 0.2s;
}

.thr:not(#_) .thr-check__box svg {
	width: 14px;
	height: 14px;
	stroke-width: 2;
	stroke-dasharray: 16;
	stroke-dashoffset: 16;
	transition: stroke-dashoffset 0.3s var(--thr-ease);
}

.thr:not(#_) .thr-consent:hover .thr-check__box {
	border-color: var(--thr-brown);
}

.thr:not(#_) .thr-check:checked + .thr-consent .thr-check__box {
	background: var(--thr-brown);
	border-color: var(--thr-brown);
}

.thr:not(#_) .thr-check:checked + .thr-consent .thr-check__box svg {
	stroke-dashoffset: 0;
}

.thr:not(#_) .thr-check:focus-visible + .thr-consent .thr-check__box {
	outline: 2px solid var(--thr-brown);
	outline-offset: 2px;
}

.thr:not(#_) .is-invalid .thr-check__box {
	border-color: var(--thr-error);
}

.thr:not(#_) .thr-field--consent .thr-error {
	margin-left: 36px;
}

.thr:not(#_) .thr-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------------ Submit */

.thr:not(#_) .thr-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding-top: 32px;
	border-top: 1px solid var(--thr-hair);
}

.thr:not(#_) .thr-required-note {
	order: -1;
	margin: 0;
	color: var(--thr-grey);
	font-size: 13px;
}

.thr:not(#_) .thr-required-note .thr-req {
	margin: 0;
}

.thr:not(#_) .thr-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 56px;
	margin: 0;
	padding: 16px 30px 16px 32px;
	overflow: hidden;
	background: var(--thr-brown);
	border: 0;
	border-radius: 0;
	box-shadow: 0 10px 24px -14px rgba(80, 46, 32, 0.7);
	color: #fff;
	font-family: var(--thr-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s var(--thr-ease), box-shadow 0.3s var(--thr-ease), transform 0.15s;
}

.thr:not(#_) .thr-button:hover {
	background: var(--thr-olive);
	color: #fff;
	box-shadow: 0 14px 28px -14px rgba(56, 69, 48, 0.75);
}

.thr:not(#_) .thr-button:active {
	transform: translateY(1px);
}

.thr:not(#_) .thr-button:focus-visible {
	outline: 2px solid var(--thr-brown);
	outline-offset: 3px;
}

.thr:not(#_) .thr-button__arrow {
	width: 24px;
	height: 12px;
	stroke-width: 1.4;
	transition: transform 0.35s var(--thr-ease);
}

.thr:not(#_) .thr-button:hover .thr-button__arrow {
	transform: translateX(4px);
}

.thr:not(#_) .thr-button__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--thr-gold);
	transform: scaleX(0);
	transform-origin: left;
}

.thr:not(#_) .thr-button.is-loading {
	background: var(--thr-olive);
	cursor: progress;
}

.thr:not(#_) .thr-button.is-loading .thr-button__arrow {
	opacity: 0.4;
}

.thr:not(#_) .thr-button.is-loading .thr-button__progress {
	animation: thr-progress 1.6s var(--thr-ease) infinite;
}

@container (max-width: 519px) {
	.thr:not(#_) .thr-submit {
		flex-direction: column;
		align-items: stretch;
	}

	.thr:not(#_) .thr-button {
		justify-content: center;
	}
}

/* ----------------------------------------------------------------- Success */

.thr:not(#_) .thr-success {
	max-width: 560px;
	margin: 0 auto;
	padding: clamp(8px, 3vw, 24px) 0;
	text-align: center;
	outline: 0;
}

.thr:not(#_) .thr-success__mark {
	width: 64px;
	height: 64px;
	margin: 0 auto 28px;
	display: block;
}

.thr:not(#_) .thr-success__ring {
	stroke: var(--thr-gold);
	stroke-width: 1.2;
	stroke-dasharray: 190;
	stroke-dashoffset: 190;
	transform: rotate(-90deg);
	transform-origin: center;
	animation: thr-draw 1.1s var(--thr-ease) 0.1s forwards;
}

.thr:not(#_) .thr-success__tick {
	stroke: var(--thr-brown);
	stroke-width: 1.8;
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: thr-draw 0.6s var(--thr-ease) 0.75s forwards;
}

.thr:not(#_) .thr-success__title {
	margin: 0 0 16px;
	color: var(--thr-brown);
	font-family: var(--thr-serif);
	font-size: clamp(32px, 5vw, 44px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.thr:not(#_) .thr-success__text {
	margin: 0 auto 24px;
	max-width: 44ch;
	color: var(--thr-grey);
	font-size: 17px;
	line-height: 1.65;
	text-wrap: pretty;
}

.thr:not(#_) .thr-success__summary {
	display: inline-block;
	margin: 0 0 16px;
	padding: 12px 20px;
	background: var(--thr-sand);
	border: 1px solid var(--thr-hair);
	color: var(--thr-olive);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
}

.thr:not(#_) .thr-success__mail {
	margin: 0 0 32px;
	color: var(--thr-grey);
	font-size: 14px;
}

.thr:not(#_) .thr-success__hosts {
	margin: 0;
	color: var(--thr-brown);
	font-family: var(--thr-serif);
	font-size: 26px;
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
}

.thr:not(#_) .thr-success__hosts::before {
	content: "";
	display: block;
	width: 44px;
	height: 1px;
	margin: 0 auto 20px;
	background: var(--thr-gold);
}

.thr:not(#_) .thr-success.is-entering > :not(.thr-success__mark) {
	animation: thr-rise 0.7s var(--thr-ease) both;
}

.thr:not(#_) .thr-success.is-entering > :nth-child(2) { animation-delay: 0.35s; }
.thr:not(#_) .thr-success.is-entering > :nth-child(3) { animation-delay: 0.45s; }
.thr:not(#_) .thr-success.is-entering > :nth-child(4) { animation-delay: 0.55s; }
.thr:not(#_) .thr-success.is-entering > :nth-child(5) { animation-delay: 0.62s; }
.thr:not(#_) .thr-success.is-entering > :nth-child(6) { animation-delay: 0.7s; }

/* ---------------------------------------------------------------- Calendar */

.thr:not(#_) .thr-cal {
	position: absolute;
	z-index: 50;
	width: 324px;
	max-width: calc(100% - 24px);
	padding: 18px 18px 14px;
	background: var(--thr-paper);
	border: 1px solid rgba(80, 46, 32, 0.14);
	box-shadow: 0 24px 48px -24px rgba(24, 21, 15, 0.4), 0 4px 12px -6px rgba(24, 21, 15, 0.12);
	animation: thr-pop 0.28s var(--thr-ease);
}

.thr:not(#_) .thr-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.thr:not(#_) .thr-cal__title {
	margin: 0;
	color: var(--thr-brown);
	font-family: var(--thr-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.thr:not(#_) .thr-cal__hint {
	margin: 2px 0 12px;
	color: var(--thr-grey);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.thr:not(#_) .thr-cal__nav,
.thr:not(#_) .thr-cal__today,
.thr:not(#_) .thr-cal__close,
.thr:not(#_) .thr-cal__day {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--thr-ink);
	font-family: var(--thr-sans);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.thr:not(#_) .thr-cal__nav {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: var(--thr-brown);
	transition: background-color 0.2s;
}

.thr:not(#_) .thr-cal__nav svg {
	width: 14px;
	height: 14px;
	stroke-width: 1.6;
}

.thr:not(#_) .thr-cal__nav:hover:not(:disabled) {
	background: var(--thr-sand-2);
	color: var(--thr-brown);
}

.thr:not(#_) .thr-cal__nav:disabled {
	opacity: 0.3;
	cursor: default;
}

.thr:not(#_) .thr-cal__grid {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.thr:not(#_) .thr-cal__grid th,
.thr:not(#_) .thr-cal__grid td {
	padding: 1px 0;
	background: transparent;
	border: 0;
	text-align: center;
}

.thr:not(#_) .thr-cal__grid th {
	padding-bottom: 6px;
	color: var(--thr-grey);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.thr:not(#_) .thr-cal__grid tr:nth-child(even) td,
.thr:not(#_) .thr-cal__grid tr:nth-child(odd) td {
	background: transparent;
}

.thr:not(#_) .thr-cal__day {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 40px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.15s, color 0.15s;
}

.thr:not(#_) .thr-cal__day:hover:not(:disabled) {
	background: var(--thr-sand-2);
	color: var(--thr-ink);
}

.thr:not(#_) .thr-cal__day:focus-visible {
	outline: 2px solid var(--thr-brown);
	outline-offset: -2px;
	z-index: 1;
}

.thr:not(#_) .thr-cal__day.is-today::after {
	content: "";
	position: absolute;
	bottom: 6px;
	left: 50%;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--thr-gold);
}

.thr:not(#_) .thr-cal__day.is-range {
	background: var(--thr-sand-2);
}

.thr:not(#_) .thr-cal__day.is-start,
.thr:not(#_) .thr-cal__day.is-end,
.thr:not(#_) .thr-cal__day.is-start:hover,
.thr:not(#_) .thr-cal__day.is-end:hover {
	background: var(--thr-brown);
	color: #fff;
}

.thr:not(#_) .thr-cal__day.is-start.is-today::after,
.thr:not(#_) .thr-cal__day.is-end.is-today::after {
	background: #fff;
}

.thr:not(#_) .thr-cal__day:disabled {
	color: #b3ada2;
	cursor: default;
	text-decoration: line-through;
	text-decoration-color: rgba(179, 173, 162, 0.6);
}

.thr:not(#_) .thr-cal__foot {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--thr-hair);
}

.thr:not(#_) .thr-cal__today,
.thr:not(#_) .thr-cal__close {
	padding: 6px 8px;
	color: var(--thr-brown);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.thr:not(#_) .thr-cal__today:hover,
.thr:not(#_) .thr-cal__close:hover {
	background: var(--thr-sand);
	color: var(--thr-brown);
}

.thr:not(#_) .thr-cal__today:focus-visible,
.thr:not(#_) .thr-cal__close:focus-visible,
.thr:not(#_) .thr-cal__nav:focus-visible {
	outline: 2px solid var(--thr-brown);
	outline-offset: 1px;
}

/* -------------------------------------------------------------- Keyframes */

@keyframes thr-rise {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@keyframes thr-pop {
	from { opacity: 0; transform: translateY(-4px) scale(0.985); }
	to { opacity: 1; transform: none; }
}

@keyframes thr-draw {
	to { stroke-dashoffset: 0; }
}

@keyframes thr-progress {
	0% { transform: scaleX(0); transform-origin: left; }
	50% { transform: scaleX(1); transform-origin: left; }
	50.1% { transform: scaleX(1); transform-origin: right; }
	100% { transform: scaleX(0); transform-origin: right; }
}

@media (prefers-reduced-motion: reduce) {
	.thr:not(#_) *,
	.thr:not(#_) *::before,
	.thr:not(#_) *::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
	}

	.thr:not(#_) .thr-button.is-loading .thr-button__progress {
		animation: none !important;
		transform: scaleX(1);
		opacity: 0.6;
	}
}
