/* Art & Souls Experiences Booking - frontend styles */

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

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

.aseb-card-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}

.aseb-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.aseb-card-title {
	margin: 0;
	font-size: 1.2em;
}

.aseb-card-title a {
	text-decoration: none;
	color: inherit;
}

.aseb-card-desc {
	margin: 0;
	color: #666;
	font-size: 0.95em;
}

.aseb-card-meta {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 0.95em;
}

.aseb-price {
	font-weight: 700;
	font-size: 1.15em;
}

.aseb-spots {
	color: #8a6d3b;
}

.aseb-btn {
	display: inline-block;
	background: #5b4a3f;
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-size: 1em;
	text-align: center;
}

.aseb-btn:hover {
	background: #4a3b32;
	color: #fff;
}

.aseb-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.aseb-empty {
	padding: 24px;
	background: #faf7f2;
	border-radius: 8px;
}

/* Booking page */

.aseb-booking {
	max-width: 760px;
	margin: 0 auto;
}

.aseb-booking-head {
	display: flex;
	gap: 20px;
	margin-bottom: 24px;
}

.aseb-booking-image {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.aseb-booking-meta {
	font-size: 1.1em;
}

.aseb-days {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.aseb-day {
	border: 2px solid #e5ddd2;
	background: #fff;
	border-radius: 8px;
	padding: 10px 14px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 130px;
}

.aseb-day.is-selected {
	border-color: #5b4a3f;
	background: #faf7f2;
}

.aseb-day-date {
	font-weight: 700;
}

.aseb-day-pract {
	font-size: 0.9em;
	color: #666;
}

.aseb-day-free {
	font-size: 0.85em;
	color: #8a6d3b;
}

.aseb-slots {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 12px 0 24px;
	min-height: 48px;
}

.aseb-slot {
	border: 2px solid #e5ddd2;
	background: #fff;
	border-radius: 8px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 1em;
}

.aseb-slot:hover:not(:disabled) {
	border-color: #5b4a3f;
}

.aseb-slot.is-selected {
	border-color: #5b4a3f;
	background: #5b4a3f;
	color: #fff;
}

.aseb-slot:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	text-decoration: line-through;
}

.aseb-hint {
	color: #888;
}

.aseb-form-wrap {
	border-top: 1px solid #e5ddd2;
	padding-top: 16px;
}

.aseb-form label {
	display: block;
	margin-bottom: 12px;
	font-weight: 600;
}

.aseb-form input[type="text"],
.aseb-form input[type="email"],
.aseb-form input[type="tel"] {
	display: block;
	width: 100%;
	max-width: 400px;
	padding: 10px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-weight: 400;
	color: #333;
	background-color: #fff;
}

.aseb-pay-methods {
	display: flex;
	gap: 20px;
	margin-top: 4px;
	font-weight: 400;
}

.aseb-pay-methods label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 0;
}

.aseb-chosen-slot {
	background: #faf7f2;
	border-radius: 8px;
	padding: 12px 16px;
	font-weight: 600;
}

.aseb-booking-where,
.aseb-booking-tz {
	margin: 4px 0;
	font-size: 0.95em;
	color: #555;
}

.aseb-summary {
	background: #faf7f2;
	border-radius: 8px;
	padding: 12px 16px;
	font-weight: 700;
}

.aseb-summary:empty {
	display: none;
}

.aseb-card-element {
	margin: 12px 0;
}

.aseb-etransfer-info {
	margin: 12px 0;
	background: #faf7f2;
	border-radius: 8px;
	padding: 12px 16px;
	max-width: 400px;
}

.aseb-etransfer-info p {
	margin: 4px 0;
}

#aseb-stripe-card {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 12px;
	max-width: 400px;
	background: #fff;
}

.aseb-error {
	color: #b3261e;
}

.aseb-result {
	border: 1px solid #e5ddd2;
	border-radius: 10px;
	padding: 24px;
	background: #faf7f2;
	margin-top: 16px;
}

@media (max-width: 600px) {
	.aseb-booking-head {
		flex-direction: column;
	}
	.aseb-booking-image {
		width: 100%;
		height: 180px;
	}
	/* Catalog: one card per row, no squeezed two-column grid. */
	.aseb-catalog {
		grid-template-columns: 1fr;
	}
	/* Day and time pickers: two tappable buttons per row, full-width
	   form fields and payment options, submit button thumb-sized. */
	.aseb-day {
		flex: 1 1 calc(50% - 10px);
		min-width: 0;
		padding: 12px 10px;
	}
	.aseb-slot {
		flex: 1 1 calc(50% - 10px);
		padding: 12px 10px;
		text-align: center;
	}
	.aseb-form input[type="text"],
	.aseb-form input[type="email"],
	.aseb-form input[type="tel"],
	.aseb-etransfer-info,
	#aseb-stripe-card {
		max-width: 100%;
	}
	.aseb-pay-methods {
		flex-direction: column;
		gap: 8px;
	}
	.aseb-submit {
		width: 100%;
		padding: 14px 20px;
	}
	.aseb-practitioner {
		flex-direction: column;
	}
	/* Calendar: let the grid scroll sideways instead of crushing the
	   seven columns, and keep event links tappable. */
	.aseb-calendar {
		overflow-x: auto;
	}
	.aseb-cal-grid {
		min-width: 560px;
	}
	.aseb-cal-grid td {
		height: auto;
		min-height: 56px;
	}
	.aseb-cal-nav {
		flex-wrap: wrap;
		gap: 8px;
	}
	.aseb-cal-event {
		font-size: 0.85em;
		padding: 5px 6px;
	}
	/* Session list: date chip and text share the row, Book goes full width. */
	.aseb-session {
		flex-wrap: wrap;
		gap: 12px;
	}
	.aseb-session-book {
		width: 100%;
	}
	.aseb-session-controls input[type="search"] {
		flex-basis: 100%;
	}
	.aseb-calendar {
		padding: 12px;
	}
}

/* Calendar embedded under the session list on the booking page. */
.aseb-booking-calendar {
	margin-top: 32px;
	border-top: 1px solid #e5ddd2;
	padding-top: 24px;
}

.aseb-booking-calendar h3 {
	margin-top: 0;
}

.aseb-booking-calendar .aseb-calendar {
	max-width: 100%;
	margin: 0;
}

/* Calendar: a clean card with pill month navigation, soft day cells,
   event chips, and a clear today marker. Days with bookable sessions
   get a warm tint so they stand out at a glance. */

.aseb-calendar {
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e5ddd2;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 12px rgba(91, 74, 63, 0.08);
}

.aseb-cal-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	font-size: 1.1em;
}

.aseb-cal-nav strong {
	font-size: 1.25em;
	color: #5b4a3f;
}

.aseb-cal-nav a {
	text-decoration: none;
	color: #5b4a3f;
	border: 1px solid #e5ddd2;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 0.9em;
	background: #fff;
}

.aseb-cal-nav a:hover {
	background: #faf7f2;
	color: #5b4a3f;
}

.aseb-cal-grid {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.aseb-cal-grid th {
	padding: 10px 8px;
	background: transparent;
	color: #8a7a6d;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8em;
	border-bottom: 1px solid #e5ddd2;
}

.aseb-cal-grid td {
	border: 1px solid #efe7db;
	border-top: none;
	vertical-align: top;
	padding: 8px;
	height: 96px;
	width: 14.28%;
}

.aseb-cal-grid tr:first-child td {
	border-top: 1px solid #efe7db;
}

.aseb-cal-grid td:first-child {
	border-left: 1px solid #efe7db;
}

.aseb-cal-empty {
	background: #fbf9f6;
}

.aseb-cal-day.has-events {
	background: #fdf9f3;
}

.aseb-cal-day.is-past .aseb-cal-num {
	color: #c4b8ab;
}

.aseb-cal-num {
	font-weight: 700;
	font-size: 0.95em;
	color: #5b4a3f;
}

.aseb-cal-day.is-today .aseb-cal-num {
	background: #5b4a3f;
	color: #fff;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.aseb-cal-events {
	margin-top: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.aseb-cal-event {
	display: block;
	background: #5b4a3f;
	color: #fff;
	font-size: 0.8em;
	padding: 4px 8px;
	border-radius: 999px;
	text-decoration: none;
	line-height: 1.3;
}

.aseb-cal-event:hover {
	color: #fff;
	background: #4a3b32;
}

/* Upcoming sessions list (booking page with no session selected).
   One row per session, in date order, with a short description so
   visitors can tell the services apart without a dropdown. */
.aseb-session-controls {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	margin: 16px 0 10px;
}

.aseb-session-controls input[type="search"] {
	flex: 1;
	min-width: 200px;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1em;
	color: #333;
	background-color: #fff;
}

.aseb-session-controls input[type="search"]::placeholder {
	color: #777;
}

.aseb-sort-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #333;
}

.aseb-sort-label select {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	font-size: 1em;
	color: #333;
}

.aseb-sort-label select option {
	color: #333;
	background-color: #fff;
}

.aseb-filter-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 4px;
}

.aseb-filter-btn {
	border: 1px solid #e5ddd2;
	background-color: #fff;
	color: #333;
	border-radius: 999px;
	padding: 6px 14px;
	cursor: pointer;
	font-size: 0.95em;
}

.aseb-filter-btn:hover {
	border-color: #5b4a3f;
}

.aseb-filter-btn.is-active {
	background: #5b4a3f;
	color: #fff;
	border-color: #5b4a3f;
}

.aseb-no-match {
	margin-top: 12px;
}

.aseb-session-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 16px 0;
}

.aseb-session {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border: 1px solid #e5ddd2;
	border-radius: 10px;
	background: #fff;
	padding: 16px;
}

.aseb-session-date {
	flex-shrink: 0;
	width: 56px;
	text-align: center;
	background: #faf7f2;
	border: 1px solid #e5ddd2;
	border-radius: 8px;
	padding: 8px 4px;
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.aseb-session-dow {
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8a7a6d;
}

.aseb-session-daynum {
	font-size: 1.5em;
	font-weight: 700;
	color: #5b4a3f;
}

.aseb-session-month {
	font-size: 0.8em;
	color: #8a7a6d;
}

.aseb-session-body {
	flex: 1;
	min-width: 0;
}

.aseb-session-title {
	margin: 0 0 4px;
	font-size: 1.1em;
}

.aseb-session-meta {
	margin: 0 0 6px;
	font-size: 0.95em;
	color: #666;
}

.aseb-session-desc {
	margin: 0;
	font-size: 0.95em;
	color: #555;
}

.aseb-session-book {
	flex-shrink: 0;
	align-self: center;
}

.aseb-switch-exp {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 0.9em;
}

/* Practitioner panel on the booking page */
.aseb-practitioner {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 16px 0;
	padding: 14px;
	background: #faf7f2;
	border: 1px solid #e8ddd0;
	border-radius: 8px;
}

.aseb-practitioner-photo {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
	flex-shrink: 0;
}

.aseb-practitioner-info {
	min-width: 0;
}

.aseb-practitioner-bio {
	margin: 6px 0;
	font-size: 0.95em;
}

.aseb-practitioner-links {
	margin: 6px 0 0;
	font-size: 0.9em;
}
