/* Ticket Dates for WooCommerce - inherits the theme's fonts and colours. */
.btds-wrap {
	--btds-line: rgba(0, 0, 0, .14);
	--btds-soft: rgba(0, 0, 0, .04);
	--btds-ink: currentColor;
	--btds-accent: #1f6f4a;
	--btds-warn: #a5501a;
	margin: 0 0 1.5em;
	max-width: 26em;
}

.btds-label {
	display: block;
	font-weight: 600;
	letter-spacing: .02em;
	margin-bottom: .5em;
}

.btds-calendar {
	border: 1px solid var(--btds-line);
	border-radius: 6px;
	padding: .6em;
}

.btds-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: .4em;
}

.btds-month {
	font-weight: 600;
}

.btds-nav {
	background: none;
	border: 1px solid var(--btds-line);
	border-radius: 4px;
	color: inherit;
	cursor: pointer;
	font-size: 1.1em;
	line-height: 1;
	min-height: 2em;
	min-width: 2.2em;
	padding: .2em .5em;
}

.btds-nav[disabled] {
	cursor: default;
	opacity: .35;
}

.btds-grid {
	display: grid;
	gap: 3px;
	grid-template-columns: repeat(7, 1fr);
}

.btds-dow span {
	font-size: .72em;
	opacity: .6;
	padding: .3em 0;
	text-align: center;
	text-transform: uppercase;
}

.btds-day,
.btds-blank {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 3.1em;
	padding: .2em;
}

.btds-day strong {
	font-size: .95em;
	font-weight: 600;
	line-height: 1.1;
}

.btds-day em {
	font-size: .62em;
	font-style: normal;
	line-height: 1.2;
	opacity: .75;
	text-align: center;
}

.btds-off {
	opacity: .28;
}

.btds-open {
	background: var(--btds-soft);
	border-color: var(--btds-line);
	color: inherit;
	cursor: pointer;
}

.btds-open:hover,
.btds-open:focus-visible {
	border-color: var(--btds-accent);
	outline: none;
}

.btds-low em {
	color: var(--btds-warn);
	opacity: 1;
}

.btds-full {
	cursor: not-allowed;
	opacity: .4;
	text-decoration: line-through;
}

.btds-selected,
.btds-day.btds-selected:hover {
	background: var(--btds-accent);
	border-color: var(--btds-accent);
	color: #fff;
}

.btds-selected em {
	color: #fff;
	opacity: .85;
}

.btds-summary {
	font-size: .9em;
	margin: .7em 0 0;
}

.btds-summary.btds-warn {
	color: var(--btds-warn);
	font-weight: 600;
}

.btds-summary .btds-warn {
	color: var(--btds-warn);
}

.btds-empty {
	margin: 0;
	opacity: .8;
}

.btds-disabled {
	cursor: not-allowed;
	opacity: .5;
}

@media (max-width: 480px) {
	.btds-day,
	.btds-blank {
		min-height: 2.8em;
	}

	.btds-day em {
		font-size: .58em;
	}
}
