/* Wind3P Booking — conversion-focused, mobile-first */

.wind3p-booking {
	--w3p-primary: #0a4d68;
	--w3p-accent: #c9a227;
	--w3p-bg: #f8fafb;
	--w3p-border: #e2e8f0;
	--w3p-text: #1e293b;
	--w3p-muted: #64748b;
	--w3p-radius: 12px;
	--w3p-shadow: 0 4px 24px rgba(10, 77, 104, 0.08);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--w3p-text);
	max-width: 960px;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
}

.wind3p-hidden { display: none !important; }

/* Steps */
.wind3p-steps ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	counter-reset: none;
}
.wind3p-steps li {
	flex: 1 1 auto;
	min-width: 4.5rem;
	text-align: center;
	font-size: 0.75rem;
	color: var(--w3p-muted);
}
.wind3p-steps li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--w3p-border);
	color: var(--w3p-muted);
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.wind3p-steps li.is-active { color: var(--w3p-primary); font-weight: 600; }
.wind3p-steps li.is-active span,
.wind3p-steps li.is-done span {
	background: var(--w3p-primary);
	color: #fff;
}
.wind3p-steps li.is-done { color: var(--w3p-primary); }

.wind3p-panel {
	background: #fff;
	border-radius: var(--w3p-radius);
	box-shadow: var(--w3p-shadow);
	padding: 1.5rem;
}
.wind3p-panel h2 {
	margin: 0 0 1.25rem;
	font-size: 1.35rem;
	font-weight: 700;
}

/* Yacht cards */
.wind3p-yacht-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
}
.wind3p-yacht-card {
	border: 2px solid var(--w3p-border);
	border-radius: var(--w3p-radius);
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s, transform 0.2s;
	background: var(--w3p-bg);
}
.wind3p-yacht-card:hover { border-color: var(--w3p-primary); transform: translateY(-2px); }
.wind3p-yacht-card.is-selected {
	border-color: var(--w3p-accent);
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}
.wind3p-yacht-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}
.wind3p-yacht-card-body { padding: 1rem; }
.wind3p-yacht-card h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.wind3p-yacht-card .meta { font-size: 0.85rem; color: var(--w3p-muted); }

/* Calendar */
.wind3p-calendar-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}
.wind3p-calendar-legend {
	display: flex;
	gap: 1rem;
	font-size: 0.8rem;
	color: var(--w3p-muted);
	margin-bottom: 0.75rem;
}
.wind3p-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 0.35rem;
	vertical-align: middle;
}
.wind3p-dot-available { background: #22c55e; }
.wind3p-dot-unavailable { background: #cbd5e1; }

.wind3p-calendar {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
	font-size: 0.85rem;
}
.wind3p-calendar .dow {
	font-weight: 600;
	color: var(--w3p-muted);
	padding: 0.35rem 0;
}
.wind3p-calendar .day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: none;
	background: transparent;
	cursor: default;
	color: var(--w3p-muted);
}
.wind3p-calendar .day.is-available {
	cursor: pointer;
	color: var(--w3p-text);
	background: #ecfdf5;
}
.wind3p-calendar .day.is-available:hover { background: #d1fae5; }
.wind3p-calendar .day.is-selected {
	background: var(--w3p-primary);
	color: #fff;
	font-weight: 700;
}
.wind3p-calendar .day.is-unavailable {
	color: #94a3b8;
	background: #f1f5f9;
	border-radius: 8px;
}

.wind3p-offer-summary {
	margin-top: 1rem;
	padding: 1rem;
	background: var(--w3p-bg);
	border-radius: 8px;
	font-size: 0.95rem;
}
.wind3p-offer-summary strong { color: var(--w3p-primary); }

/* Form */
.wind3p-form-row { margin-bottom: 1rem; }
.wind3p-form-row label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}
.wind3p-form-row input,
.wind3p-form-row textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--w3p-border);
	border-radius: 8px;
	font-size: 1rem;
	box-sizing: border-box;
}

/* Buttons */
.wind3p-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}
.wind3p-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.wind3p-btn-primary {
	background: var(--w3p-accent);
	color: #1a1a1a;
	width: 100%;
}
.wind3p-btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.wind3p-btn-ghost {
	background: transparent;
	color: var(--w3p-primary);
	border: 1px solid var(--w3p-border);
}
.wind3p-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}
.wind3p-actions-stack { flex-direction: column; }
.wind3p-actions .wind3p-btn-primary { flex: 1; }

.wind3p-success { text-align: center; padding: 2rem 1rem; }
.wind3p-success h2 { color: var(--w3p-primary); }
.wind3p-code { font-size: 1.1rem; }

.wind3p-whatsapp a {
	color: var(--w3p-primary);
	font-weight: 600;
}
.wind3p-toast {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	background: #b91c1c;
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 8px;
	z-index: 9999;
	max-width: 90vw;
}
.wind3p-loading { color: var(--w3p-muted); text-align: center; padding: 2rem; }

@media (min-width: 640px) {
	.wind3p-booking { padding: 2rem 1.5rem 4rem; }
	.wind3p-panel { padding: 2rem; }
	.wind3p-btn-primary { width: auto; min-width: 200px; }
}
