/* Workshop Hourly Booking for WooCommerce — frontend styles */

.wsbh-booking-box {
	margin-top: 28px;
	padding: 20px 24px;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	background: #fafafa;
	max-width: 460px;
}

.wsbh-location {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #555;
	margin: 0 0 10px;
}

.wsbh-price {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 16px;
	color: #222;
}

.wsbh-price-note {
	font-size: 13px;
	font-weight: 400;
	color: #777;
}

.wsbh-field-row {
	margin-bottom: 16px;
}

.wsbh-field-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.wsbh-date-input,
.wsbh-hours-select {
	width: 100%;
	max-width: 260px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 15px;
}

.wsbh-hint {
	color: #777;
	font-size: 14px;
	margin: 4px 0;
}

.wsbh-unavailable {
	color: #c0392b;
}

.wsbh-times {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wsbh-time-btn {
	padding: 8px 14px;
	border: 1px solid #2271b1;
	border-radius: 20px;
	background: #fff;
	color: #2271b1;
	cursor: pointer;
	font-size: 14px;
}

.wsbh-time-btn:hover {
	background: #e9f2fa;
}

.wsbh-time-btn-selected {
	background: #2271b1;
	color: #fff;
}

.wsbh-total-row {
	margin-bottom: 14px;
	font-size: 17px;
}

.wsbh-book-now-btn {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 26px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: background 0.15s ease;
}

.wsbh-book-now-btn:hover:not(:disabled) {
	background: #135e96;
	color: #fff;
}

.wsbh-book-now-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Space grid / shortcode list */

.wsbh-space-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 20px 0;
}

.wsbh-space-card {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.wsbh-card-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.wsbh-card-body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.wsbh-card-body h3 {
	margin: 0 0 10px;
	font-size: 18px;
}

.wsbh-card-body h3 a {
	text-decoration: none;
	color: #222;
}

.wsbh-card-link {
	margin-top: auto;
}
