/* T4Y Package Bookings. Everything is scoped under .t4y so it cannot leak into the theme. */
.t4y {
	--t4y-accent: #0f766e;
	--t4y-ink: #111827;
	--t4y-muted: #6b7280;
	--t4y-line: #e5e7eb;
	--t4y-bg: #ffffff;
	--t4y-soft: #f9fafb;
	box-sizing: border-box;
	max-width: 760px;
	margin: 32px auto;
	padding: 0 16px;
	color: var(--t4y-ink);
	font-size: 16px;
	line-height: 1.5;
}
.t4y *, .t4y *::before, .t4y *::after { box-sizing: inherit; }
.t4y h2 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.25; }
.t4y h3 { margin: 18px 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--t4y-muted); }
.t4y h4 { margin: 0 0 8px; font-size: 1.05rem; }
.t4y .t4y-muted { color: var(--t4y-muted); font-size: .9rem; }

.t4y.t4y-book .t4y-form {
	background: var(--t4y-bg);
	border: 1px solid var(--t4y-line);
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.t4y .t4y-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.t4y .t4y-price { margin: 0; font-size: 1.5rem; font-weight: 700; color: var(--t4y-accent); }
.t4y .t4y-price small { font-size: .85rem; font-weight: 400; color: var(--t4y-muted); }

.t4y .t4y-set { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.t4y .t4y-set legend { padding: 0; margin: 14px 0 8px; font-weight: 700; font-size: 1rem; }
.t4y .t4y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t4y .t4y-field { margin-bottom: 12px; }
.t4y .t4y-field label { display: block; margin-bottom: 4px; font-size: .9rem; font-weight: 600; }

.t4y input[type=text], .t4y input[type=tel], .t4y input[type=email], .t4y input[type=number],
.t4y input[type=date], .t4y select, .t4y textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
	color: var(--t4y-ink);
	font: inherit;
	font-size: 16px; /* stops iOS zoom on focus */
	margin: 0;
}
.t4y textarea { min-height: 70px; resize: vertical; }
.t4y input:focus, .t4y select:focus, .t4y textarea:focus {
	outline: 2px solid var(--t4y-accent);
	outline-offset: 1px;
	border-color: var(--t4y-accent);
}

.t4y .t4y-stepper { display: flex; align-items: stretch; }
.t4y .t4y-stepper input[type=number] { text-align: center; border-radius: 0; border-left: 0; border-right: 0; -moz-appearance: textfield; }
.t4y .t4y-stepper input::-webkit-outer-spin-button, .t4y .t4y-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.t4y .t4y-step {
	width: 48px; flex: none; border: 1px solid #d1d5db; background: var(--t4y-soft);
	font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--t4y-ink); padding: 0;
}
.t4y .t4y-step:first-child { border-radius: 8px 0 0 8px; }
.t4y .t4y-step:last-child { border-radius: 0 8px 8px 0; }
.t4y .t4y-step:hover { background: #eef2f7; }

.t4y .t4y-trav { background: var(--t4y-soft); border: 1px solid var(--t4y-line); border-radius: 10px; padding: 12px 14px 2px; margin-bottom: 10px; }
.t4y .t4y-trav-title { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.t4y .t4y-trav-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }

.t4y .t4y-link { background: none; border: 0; padding: 0; color: var(--t4y-accent); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }

.t4y .t4y-summary { background: var(--t4y-soft); border: 1px solid var(--t4y-line); border-radius: 10px; padding: 12px 14px; margin: 16px 0; }
.t4y .t4y-summary-flat { background: transparent; border: 0; padding: 0; margin: 0; }
.t4y .t4y-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.t4y .t4y-total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--t4y-line); margin-top: 6px; padding-top: 8px; }

.t4y .t4y-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 16px; font-size: .9rem; cursor: pointer; }
.t4y .t4y-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--t4y-accent); }

.t4y .t4y-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.t4y .t4y-btn {
	display: inline-block; border: 1px solid transparent; border-radius: 8px; padding: 13px 22px; min-height: 48px;
	font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-align: center; text-decoration: none; line-height: 1.2;
}
.t4y .t4y-btn-primary { background: var(--t4y-accent); color: #fff; }
.t4y .t4y-btn-primary:hover { filter: brightness(.92); color: #fff; }
.t4y .t4y-btn-ghost { background: #fff; color: var(--t4y-ink); border-color: #d1d5db; margin-top: 10px; }
.t4y .t4y-btn-ghost:hover { background: var(--t4y-soft); }
.t4y .t4y-btn-block { display: block; width: 100%; }
.t4y .t4y-btn[disabled] { opacity: .6; cursor: wait; }

.t4y .t4y-error, .t4y .t4y-notice { border-radius: 8px; padding: 12px 14px; margin: 12px 0; font-size: .95rem; }
.t4y .t4y-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.t4y .t4y-notice-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.t4y .t4y-notice-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.t4y .t4y-notice-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.t4y [hidden] { display: none !important; }

/* Payment + confirmation */
.t4y.t4y-pay, .t4y.t4y-confirm { max-width: 980px; }
.t4y .t4y-pay-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.t4y .t4y-card { background: var(--t4y-bg); border: 1px solid var(--t4y-line); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.t4y .t4y-card h3:first-child { margin-top: 0; }
.t4y .t4y-paybox { position: sticky; top: 20px; }
.t4y .t4y-bigtotal { margin: 0 0 12px; font-size: 2rem; font-weight: 800; color: var(--t4y-accent); }
.t4y .t4y-demo { border: 1px dashed #d97706; background: #fffbeb; border-radius: 10px; padding: 14px; }
.t4y .t4y-demo-badge { margin: 0 0 6px; font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #b45309; }

.t4y .t4y-dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0 0 8px; }
.t4y .t4y-dl dt { color: var(--t4y-muted); font-size: .9rem; }
.t4y .t4y-dl dd { margin: 0; }
.t4y .t4y-dl-tight { grid-template-columns: 100px 1fr; gap: 4px 10px; }
.t4y .t4y-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.t4y .t4y-table th, .t4y .t4y-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--t4y-line); }
.t4y .t4y-table th { color: var(--t4y-muted); font-weight: 600; font-size: .85rem; }

.t4y .t4y-ticket { display: flex; background: #fff; border: 2px dashed #9ca3af; border-radius: 12px; margin-bottom: 14px; overflow: hidden; page-break-inside: avoid; break-inside: avoid; }
.t4y .t4y-ticket-main { flex: 1; padding: 16px 18px; min-width: 0; }
.t4y .t4y-ticket-label { display: inline-block; font-size: .7rem; letter-spacing: .12em; font-weight: 800; color: var(--t4y-accent); margin-bottom: 4px; }
.t4y .t4y-ticket-stub { flex: none; width: 190px; padding: 16px; border-left: 2px dashed #9ca3af; background: var(--t4y-soft); display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: var(--t4y-muted); }
.t4y .t4y-ticket-stub strong { color: var(--t4y-ink); font-size: .95rem; margin-bottom: 8px; word-break: break-all; }
.t4y .t4y-ticket-help { margin: 6px 0 0; }

@media (max-width: 680px) {
	.t4y .t4y-grid { grid-template-columns: 1fr; gap: 0; }
	.t4y .t4y-trav-grid { grid-template-columns: 1fr 1fr; }
	.t4y .t4y-trav-grid .t4y-field:first-child { grid-column: 1 / -1; }
	.t4y.t4y-book .t4y-form { padding: 18px 16px; }
	.t4y .t4y-pay-grid { grid-template-columns: 1fr; }
	.t4y .t4y-paybox { position: static; order: -1; }
	.t4y .t4y-ticket { flex-direction: column; }
	.t4y .t4y-ticket-stub { width: auto; border-left: 0; border-top: 2px dashed #9ca3af; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
	.t4y .t4y-ticket-stub strong { margin-bottom: 0; }
	.t4y .t4y-dl { grid-template-columns: 100px 1fr; }
}

/* Theme-proofing: Astra / Elementor kit styles buttons, inputs and headings with
   high-specificity rules. These keep the booking UI looking the same everywhere. */
.t4y h2, .t4y h3, .t4y h4 { font-family: inherit !important; color: var(--t4y-ink) !important; text-transform: none; letter-spacing: normal; font-weight: 700 !important; }
.t4y h2 { font-size: 1.5rem !important; line-height: 1.25 !important; margin: 0 0 8px !important; }
.t4y h3 { font-size: .95rem !important; margin: 18px 0 8px !important; text-transform: uppercase; letter-spacing: .04em; color: var(--t4y-muted) !important; }
.t4y h4 { font-size: 1.05rem !important; margin: 0 0 8px !important; }
.t4y .t4y-price { color: var(--t4y-accent) !important; }
.t4y input[type=text], .t4y input[type=tel], .t4y input[type=email], .t4y input[type=number],
.t4y input[type=date], .t4y select, .t4y textarea {
	background: #fff !important; border: 1px solid #d1d5db !important; border-radius: 8px !important; color: var(--t4y-ink) !important;
	padding: 10px 12px !important; min-height: 44px !important; box-shadow: none !important; height: auto !important; line-height: 1.4 !important;
}
.t4y .t4y-stepper input[type=number] { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; }
.t4y textarea { min-height: 70px !important; }
.t4y button.t4y-btn, .t4y button.t4y-step, .t4y button.t4y-link {
	box-shadow: none !important; text-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
	font-family: inherit !important; transform: none !important; filter: none;
}
.t4y button.t4y-btn { border: 1px solid transparent !important; border-radius: 8px !important; padding: 13px 22px !important; min-height: 48px !important; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.2 !important; width: auto; }
.t4y button.t4y-btn-block { width: 100% !important; display: block !important; }
.t4y button.t4y-btn-primary { background: var(--t4y-accent) !important; color: #fff !important; }
.t4y button.t4y-btn-primary:hover, .t4y button.t4y-btn-primary:focus { background: var(--t4y-accent) !important; color: #fff !important; filter: brightness(.92); }
.t4y button.t4y-btn-ghost { background: #fff !important; color: var(--t4y-ink) !important; border-color: #d1d5db !important; }
.t4y button.t4y-btn-ghost:hover, .t4y button.t4y-btn-ghost:focus { background: var(--t4y-soft) !important; color: var(--t4y-ink) !important; }
.t4y button.t4y-step { width: 48px !important; min-width: 48px !important; padding: 0 !important; border: 1px solid #d1d5db !important; background: var(--t4y-soft) !important; color: var(--t4y-ink) !important; font-size: 1.25rem !important; line-height: 1 !important; font-weight: 400 !important; }
.t4y button.t4y-step:first-child { border-radius: 8px 0 0 8px !important; }
.t4y button.t4y-step:last-child { border-radius: 0 8px 8px 0 !important; }
.t4y button.t4y-step:hover, .t4y button.t4y-step:focus { background: #eef2f7 !important; color: var(--t4y-ink) !important; }
.t4y button.t4y-link { background: none !important; border: 0 !important; padding: 0 !important; color: var(--t4y-accent) !important; text-decoration: underline !important; font-size: .9rem !important; font-weight: 400 !important; min-height: 0 !important; }
.t4y button.t4y-link:hover, .t4y button.t4y-link:focus { background: none !important; color: var(--t4y-accent) !important; }
.t4y fieldset.t4y-set { border: 0 !important; padding: 0 !important; margin: 0 0 8px !important; }
.t4y fieldset.t4y-set legend { padding: 0 !important; font-weight: 700 !important; }

@media print {
	body * { visibility: hidden !important; }
	.t4y .t4y-print, .t4y .t4y-print * { visibility: visible !important; }
	.t4y .t4y-print { position: absolute; left: 0; top: 0; width: 100%; }
	.t4y .t4y-noprint { display: none !important; }
	.t4y .t4y-card, .t4y .t4y-ticket { box-shadow: none; }
}
