.thta-card-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	align-items: stretch;
}

.thta-card-meta {
	display: grid;
	gap: 0.5rem;
}

.thta-card-ship-eyebrow {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	align-items: center;
	gap: 0.35rem;
	border: 1px solid #14628b;
	border-radius: 9999px;
	padding: 0.35rem 0.7rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #14628b;
}

.thta-card-ship-eyebrow svg {
	flex: 0 0 auto;
}

.thta-card-meta-row {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #4b5563;
}

.thta-card-meta-link {
	color: inherit;
	text-decoration: none;
}

.thta-card-meta-link:hover,
.thta-card-meta-link:focus-visible {
	text-decoration: underline;
}

.thta-card-ship-eyebrow {
	text-decoration: none;
}

.thta-card-ship-eyebrow:hover,
.thta-card-ship-eyebrow:focus-visible {
	text-decoration: none;
}

.thta-card-meta-row--truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.thta-card-price-block {
	display: grid;
	gap: 0.25rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #b6c8d8;
	border-radius: 0.55rem;
	background: #d4dfe9;
	text-align: center;
}

.thta-card-price-line {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}

.thta-card-price-prefix {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #5f7283;
	text-transform: none;
}

.thta-card-price-value {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.05;
	color: #14628b;
}

.thta-card-price-value--large {
	font-size: 1.875rem;
}

.thta-card-price-currency {
	display: none;
}

.thta-card-price-suffix {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	color: #5f7283;
}

.thta-card-actions--compact {
	min-width: 100%;
}

.thta-card-button,
.thta-card-button:link,
.thta-card-button:visited,
.thta-card-button:hover,
.thta-card-button:focus,
.thta-card-button:active {
	display: inline-flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 0.5rem;
	padding: 0.6rem 0.9rem;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	color: #ffffff;
	cursor: pointer;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.thta-card-actions--compact .thta-card-button,
.thta-card-actions--compact .thta-card-button:link,
.thta-card-actions--compact .thta-card-button:visited,
.thta-card-actions--compact .thta-card-button:hover,
.thta-card-actions--compact .thta-card-button:focus,
.thta-card-actions--compact .thta-card-button:active {
	padding: 0.55rem 0.7rem;
	font-size: 0.75rem;
}

.thta-card-button:hover,
.thta-card-button:focus-visible {
	opacity: 0.92;
	transform: translateY(-1px);
}

.thta-card-button:focus-visible {
	outline: 2px solid #0f172a;
	outline-offset: 2px;
}

.thta-card-button--book {
	background-color: #14628b;
}

.thta-card-button--enquire {
	background-color: #c10000;
}

/* Keep offer card CTA buttons consistent even with aggressive theme button/link styles. */
.thta-card-actions .thta-card-button,
.thta-card-actions button.thta-card-button {
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
}

.thta-card-actions a.thta-card-button,
.thta-card-actions a.thta-card-button:link,
.thta-card-actions a.thta-card-button:visited,
.thta-card-actions a.thta-card-button:hover,
.thta-card-actions a.thta-card-button:focus,
.thta-card-actions a.thta-card-button:active,
.thta-card-actions button.thta-card-button {
	color: #ffffff !important;
	text-decoration: none !important;
}

.thta-card-actions .thta-card-button--book,
.thta-card-actions .thta-card-button--book:hover,
.thta-card-actions .thta-card-button--book:focus,
.thta-card-actions .thta-card-button--book:active {
	background-color: #14628b !important;
}

.thta-card-actions .thta-card-button--enquire,
.thta-card-actions .thta-card-button--enquire:hover,
.thta-card-actions .thta-card-button--enquire:focus,
.thta-card-actions .thta-card-button--enquire:active {
	background-color: #c10000 !important;
}

@media ( min-width: 768px ) {
	.thta-card-actions--compact {
		min-width: 11rem;
	}
}

.thta-enquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	padding: 0;
}

.thta-enquiry-modal[hidden] {
	display: none;
}

.thta-enquiry-modal h3 {
	margin-block-start: 0;
}

body.thta-enquiry-modal-open {
	overflow: hidden;
}

.thta-enquiry-form-status {
	border-radius: 0.75rem;
	padding: 0.9rem 1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.5;
}

.thta-enquiry-form-status[data-state="success"] {
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #065f46;
}

.thta-enquiry-form-status[data-state="error"] {
	background: #fff7ed;
	border: 1px solid #f97316;
	color: #9a3412;
}

[data-thta-enquiry-form="1"][data-thta-state="success"] [data-thta-enquiry-form-body="1"] {
	display: none;
}

.thta-enquiry-field-error {
	border-color: #dc2626 !important;
	box-shadow: 0 0 0 1px #dc2626;
}

.thta-enquiry-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.thta-enquiry-action {
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease,
		box-shadow 0.18s ease, transform 0.18s ease;
}

.thta-enquiry-action:hover,
.thta-enquiry-action:focus-visible {
	transform: translateY(-1px);
}

.thta-enquiry-action--cancel {
	background: #ffffff;
	border-color: #cbd5e1;
	color: #0f172a;
}

.thta-enquiry-action--cancel:hover,
.thta-enquiry-action--cancel:focus-visible {
	background: #f8fafc;
	border-color: #94a3b8;
	color: #0f172a;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.thta-enquiry-action--submit {
	background: #c10000;
	color: #ffffff;
}

.thta-enquiry-action--submit:hover,
.thta-enquiry-action--submit:focus-visible {
	background: #9f1111;
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(193, 0, 0, 0.26);
}

.thta-enquiry-date-input {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.85rem !important;
	position: relative;
}

.thta-enquiry-date-input::-webkit-calendar-picker-indicator {
	cursor: pointer;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
}

.thta-enquiry-date-input::-webkit-date-and-time-value {
	text-align: left;
}
