.wc-bookings-home {
	margin: 0 auto;
	max-width: 970px;
}

.wc-bookings-home__tabs {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 4px 0 12px;
}

.wc-bookings-home__tab {
	border: 1px solid #d7d7d7;
	background: #fff;
	border-radius: 50%;
	padding: 0;
	width: 76px;
	height: 76px;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2px;
	color: #070707;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.wc-bookings-home__tab.is-active {
	background: #08000b;
	border-color: #08000b;
	color: #fff;
}

.wc-bookings-home__tab-date {
	font-size: 16px;
	line-height: 1.2;
}

.wc-bookings-home__tab-weekday {
	font-size: 13px;
	line-height: 1.3;
	color: inherit;
}

.wc-bookings-home__tab.is-active .wc-bookings-home__tab-weekday {
	color: #ff003b;
}

.wc-bookings-home__tab-weekday.is-weekend {
	color: #003fff;
}

.wc-bookings-home__tab.is-active .wc-bookings-home__tab-weekday.is-weekend {
	color: #ff003b;
}

.wc-bookings-home__state {
	margin: 8px 0 14px;
	color: #555;
	font-size: 14px;
}

.wc-bookings-home__state.is-hidden {
	display: none;
}

.wc-bookings-home__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.wc-bookings-home__card {
	position: relative;
	overflow: hidden;
	background: #111;
	color: #fff;
	text-decoration: none;
	aspect-ratio: 194 / 258;
	display: block;
	outline-offset: -3px;
}

.wc-bookings-home__card:hover,
.wc-bookings-home__card:focus {
	color: #fff;
	text-decoration: none;
}

.wc-bookings-home__image-wrap {
	display: block;
	width: 100%;
	height: 100%;
}

.wc-bookings-home__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.22s ease;
}

.wc-bookings-home__card:hover .wc-bookings-home__image,
.wc-bookings-home__card:focus .wc-bookings-home__image {
	transform: scale(1.035);
}

.wc-bookings-home__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 30px 12px 10px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.76) 56%, rgba(0, 0, 0, 0.88) 100%);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.wc-bookings-home__title {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wc-bookings-home__date {
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #fff;
	font-weight: 500;
}

.wc-bookings-home__empty {
	grid-column: 1 / -1;
	padding: 26px 12px;
	text-align: center;
	background: #fafafa;
	border: 1px solid #eee;
	color: #666;
}

@media (max-width: 1024px) {
	.wc-bookings-home__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.wc-bookings-home__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.wc-bookings-home__tabs {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.wc-bookings-home__tab {
		flex: 0 0 auto;
		width: 64px;
		height: 64px;
	}

	.wc-bookings-home__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wc-bookings-home__title {
		font-size: 14px;
	}

	.wc-bookings-home__date {
		font-size: 12px;
	}
}
