/* ---- Price ---- */
.hawks-detail-price {
	font-weight: bolder;
	font-size: 36px;
}

.hawks-detail-price-remaining {
	font-size: 14px;
	font-weight: 400;
	color: #555;
}

/* ---- Booking option radio cards ---- */

.hawks-booking-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.hawks-booking-option {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 8px;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 16px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
}

.hawks-booking-option.is-active {
	border-color: var(--hawks-purple);
	background: #f5f0fd;
}

.hawks-booking-option.is-disabled {
	background: #f3f4f6;
	cursor: default;
	opacity: 0.75;
	pointer-events: none;
}

.hawks-booking-option input[type="radio"] {
	accent-color: var(--hawks-purple);
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

.hawks-booking-option-label {
	font-weight: 600;
	font-size: 1rem;
	color: #1a1a2e;
	flex: 1;
}

.hawks-booking-option-badge {
	background: var(--hawks-faded-green);
	color: var(--hawks-dark-purple);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 999px;
	align-self: center;
}

/* ---- Day tile picker ---- */

.hawks-day-picker {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
	margin-top: 10px;
}

.hawks-day-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 56px;
	aspect-ratio: 1;
	border-radius: 8px;
	background: #f0ece8;
	border: 2px solid transparent;
	cursor: pointer;
	padding: 4px;
	transition: background 0.12s, border-color 0.12s;
}

.hawks-day-tile:hover:not(.is-full) {
	background: #e5dff8;
}

.hawks-day-tile.is-selected {
	background: var(--hawks-purple);
	border-color: var(--hawks-purple);
}

.hawks-day-tile.is-full {
	opacity: 0.45;
	cursor: not-allowed;
}

.hawks-day-name {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--hawks-purple);
	line-height: 1;
}

.hawks-day-date {
	font-size: 0.78rem;
	font-weight: 700;
	color: #e05a5a;
	margin-top: 3px;
	line-height: 1;
}

.hawks-day-tile.is-selected .hawks-day-name,
.hawks-day-tile.is-selected .hawks-day-date {
	color: #ffffff;
}

/* ---- Buttons ---- */

.hawks-detail-urgency {
	text-align: center;
	color: var(--hawks-peach);
	font-weight: 700;
}

/* ---- Layout ---- */

.hawks-detail-layout {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.hawks-detail-left {
	flex: 0 0 66%;
	max-width: 66%;
	min-width: 0;
}

.hawks-detail-right {
	flex: 1;
	min-width: 0;
	margin-bottom: 16px;
}

.hawks-detail-booking-card {
	background-color: #ffffff;
	margin-bottom: 16px;
	padding: 24px;
	border-radius: 10px;
	border-top: 8px solid var(--hawks-orange);
	color: #000000;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hawks-detail-booking-card > * {
	width: 100%;
}

.hawks-detail-questions-btn {
	width: 100%;
	justify-content: center;
}

/* Sibling card styles live in complete-profile.css as .hawks-sibling-card (loaded on all booking pages) */

@media ( max-width: 768px ) {
	.hawks-detail-layout {
		flex-direction: column;
	}

	.hawks-detail-left,
	.hawks-detail-right {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
}

/* ---- Image with category badge overlay ---- */

.hawks-detail-image-wrap {
	position: relative;
	border-radius: 10px;
	margin-bottom: 32px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.hawks-detail-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.hawks-detail-hero {
	display: block;
	width: 100%;
}


/* ---- Summary rows ---- */

.hawks-detail-summary-card {
	background-color: #ffffff;
	padding: 24px;
	border-radius: 10px;
	color: #000000
}
.hawks-detail-card-title {
	font-size: 32px;
}
.hawks-detail-summary-body {
	column-count: 2;
	column-gap: 24px;
}
.hawks-detail-summary-row {
	display: flex;
	align-items: center;
	gap: 8px;
	break-inside: avoid;
}
.hawks-summary-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 6px;
	flex-shrink: 0;
	color: var(--hawks-dark-purple);
}
@media ( max-width: 600px ) {
	.hawks-detail-summary-body {
		column-count: 1;
	}
}

/* ---- Tabs ---- */

.hawks-detail-tab-nav {
	display: flex;
}

.hawks-detail-tab-btn {
	background: none;
	color: var(--hawks-purple);
	border: none;
	font-weight: bold;
	padding: 8px 16px;
}

.hawks-detail-tab-btn.is-active {
	color: #ffffff;
	background-color: var(--hawks-purple);
	border-radius: 10px;
}
.hawks-detail-tab-nav {
	margin-bottom: 16px;
}

.hawks-detail-tab-panel {
	display: none;
}

.hawks-detail-tab-panel.is-active {
	display: block;
}

/* ---- Content ---- */

.hawks-detail-panel-title {
	font-weight: 700;
}

.hawks-detail-section-body {
	white-space: pre-line;
}

.hawks-detail-tab-panel {
	background-color: #ffffff;
	padding: 24px;
	border-radius: 10px;
}

/* ---- Mobile accordion ---- */

.hawks-detail-accordion-icon {
	display: none;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hawks-detail-accordion-icon .hawks-icon-x {
	display: none;
}

.hawks-detail-tab-panel.is-active .hawks-detail-panel-title .hawks-icon-caret {
	display: none;
}

.hawks-detail-tab-panel.is-active .hawks-detail-panel-title .hawks-icon-x {
	display: inline-flex;
}

@media ( max-width: 768px ) {
	.hawks-detail-tab-nav {
		display: none;
	}

	.hawks-detail-tab-panel {
		display: block;
		margin-bottom: 8px;
	}

	.hawks-detail-tab-panel:not( .is-active ) > *:not( .hawks-detail-panel-title ) {
		display: none;
	}

	.hawks-detail-panel-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 0;
		cursor: pointer;
		color: var(--hawks-purple);
	}

	.hawks-detail-tab-panel.is-active .hawks-detail-panel-title {
		margin-bottom: 16px;
	}

	.hawks-detail-accordion-icon {
		display: inline-flex;
	}
}

/* ---- Water-days callout ---- */

.hawks-detail-water-days {
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: var(--hawks-green);
	color: #221161;
	padding: 12px 16px;
	border-radius: 8px;
	margin: 12px 0;
	font-weight: 700;
}

.hawks-detail-water-days-icon {
	display: inline-flex;
	flex-shrink: 0;
}

.hawks-detail-water-days-icon svg {
	display: block;
}

.hawks-detail-water-days-text {
	flex: 1;
}

/* -------------------------------------------------------------------------
   Waitlist — detail-page button + confirm
   ------------------------------------------------------------------------- */

.hawks-detail-urgency--full {
	color: #b45309;
	font-weight: 600;
}

.hawks-detail-waitlist-btn.is-disabled,
.hawks-btn.is-disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.hawks-detail-waitlist-confirm {
	margin: 0.5rem 0 0;
	padding: 0.625rem 0.875rem;
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	font-size: 0.9rem;
	line-height: 1.4;
}

/* -------------------------------------------------------------------------
   Waitlist modal
   ------------------------------------------------------------------------- */

#hawks-waitlist-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

#hawks-waitlist-modal[hidden] {
	display: none;
}

#hawks-waitlist-modal .hawks-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.55 );
}

#hawks-waitlist-modal .hawks-modal-box {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 10px;
	padding: 1.75rem;
	width: min( 480px, 92vw );
	max-height: min( 86vh, 720px );
	display: flex;
	flex-direction: column;
	box-shadow: 0 18px 48px rgba( 0, 0, 0, 0.25 );
}

.hawks-waitlist-modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	background: transparent;
	border: 0;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
}

.hawks-waitlist-modal-close:hover {
	color: #111827;
}

.hawks-waitlist-modal-title {
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
	font-weight: 700;
}

.hawks-waitlist-modal-subtitle {
	margin: 0 0 0.5rem;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.4;
}

.hawks-waitlist-modal-date {
	margin: 0 0 1rem;
	color: #111827;
	font-weight: 600;
	font-size: 0.95rem;
}

.hawks-waitlist-modal-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	flex: 1 1 auto;
	min-height: 60px;
}

.hawks-waitlist-modal-loading,
.hawks-waitlist-modal-empty {
	color: #6b7280;
	font-size: 0.9rem;
	padding: 0.5rem 0.25rem;
}

.hawks-waitlist-modal-item {
	margin: 0;
}

.hawks-waitlist-modal-card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0.875rem;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hawks-waitlist-modal-card:hover {
	border-color: #94a3b8;
	background: #f9fafb;
}

.hawks-waitlist-modal-checkbox {
	width: 1.1rem;
	height: 1.1rem;
	cursor: pointer;
	flex: 0 0 auto;
}

.hawks-waitlist-modal-name {
	font-weight: 600;
	color: #111827;
}

.hawks-waitlist-modal-item.is-age-locked .hawks-waitlist-modal-card {
	background: #f3f4f6;
	color: #6b7280;
	cursor: not-allowed;
	opacity: 0.7;
}

.hawks-waitlist-modal-item.is-age-locked .hawks-waitlist-modal-checkbox {
	cursor: not-allowed;
}

.hawks-waitlist-modal-item .hawks-age-lock-notice {
	display: block;
	font-size: 0.8rem;
	color: #b45309;
	margin: 0.25rem 0 0;
	padding: 0 0 0 1.85rem;
}

.hawks-waitlist-modal-error {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
	border-radius: 6px;
	font-size: 0.875rem;
}

.hawks-waitlist-modal-submit {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var( --hawks-peach, #f59e0b );
	color: #111827;
	border: 0;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.hawks-waitlist-modal-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
