/* SavannaLux Booking — front-end styles */

.slb-booking-form-wrap {
	max-width: 560px;
	margin: 0 auto;
	background: #fbf7f0;
	border: 1px solid #e3d9c6;
	border-radius: 10px;
	padding: 28px;
	font-family: inherit;
	box-sizing: border-box;
}

.slb-booking-form-wrap * {
	box-sizing: border-box;
}

.slb-form-title {
	margin: 0 0 18px;
	font-size: 1.4em;
	color: #4a3b27;
}

.slb-locked-package {
	background: #efe5d2;
	border-left: 4px solid #c97b3c;
	padding: 10px 14px;
	border-radius: 4px;
	margin-bottom: 18px;
	color: #4a3b27;
}

.slb-field {
	margin-bottom: 16px;
	flex: 1;
}

.slb-field-row {
	display: flex;
	gap: 16px;
}

.slb-field-row .slb-field {
	margin-bottom: 16px;
}

.slb-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #4a3b27;
	font-size: 0.92em;
}

.slb-field input,
.slb-field select,
.slb-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbb994;
	border-radius: 6px;
	font-size: 1em;
	background: #fff;
	color: #2e2417;
}

.slb-field input:focus,
.slb-field select:focus,
.slb-field textarea:focus {
	outline: none;
	border-color: #c97b3c;
	box-shadow: 0 0 0 3px rgba(201, 123, 60, 0.15);
}

.slb-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	opacity: 0;
	pointer-events: none;
}

.slb-submit-btn {
	width: 100%;
	background: #c97b3c;
	color: #fff;
	border: none;
	padding: 13px 18px;
	font-size: 1.05em;
	font-weight: 700;
	border-radius: 6px;
	cursor: pointer;
	letter-spacing: 0.02em;
	transition: background 0.15s ease;
}

.slb-submit-btn:hover {
	background: #b3672e;
}

.slb-submit-btn:disabled {
	background: #d9b58f;
	cursor: not-allowed;
}

.slb-form-response {
	margin-top: 14px;
	padding: 0;
	border-radius: 6px;
	font-size: 0.95em;
	display: none;
}

.slb-form-response.slb-success {
	display: block;
	padding: 14px;
	background: #e6f3e6;
	border: 1px solid #a9d4a9;
	color: #2e5a2e;
}

.slb-form-response.slb-error {
	display: block;
	padding: 14px;
	background: #f8e6e2;
	border: 1px solid #e3a99a;
	color: #7a2c1c;
}

/* ---- Packages grid ---- */

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

.slb-package-card {
	background: #fff;
	border: 1px solid #e3d9c6;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slb-package-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.slb-package-image {
	height: 180px;
	background-size: cover;
	background-position: center;
	background-color: #e3d9c6;
}

.slb-package-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.slb-package-body h3 {
	margin: 0 0 6px;
	color: #4a3b27;
	font-size: 1.2em;
}

.slb-duration {
	color: #8a7a5c;
	font-size: 0.85em;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.slb-excerpt {
	color: #5a4d3a;
	font-size: 0.95em;
	flex: 1;
	margin: 0 0 10px;
}

.slb-price {
	font-weight: 700;
	color: #c97b3c;
	margin: 0 0 14px;
	font-size: 1.05em;
}

.slb-view-link {
	display: inline-block;
	margin-bottom: 10px;
	color: #8a7a5c;
	font-size: 0.9em;
	text-decoration: underline;
}

.slb-open-modal-btn {
	background: #c97b3c;
	color: #fff;
	border: none;
	padding: 11px 16px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
}

.slb-open-modal-btn:hover {
	background: #b3672e;
}

/* ---- Modal ---- */

.slb-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(30, 22, 12, 0.55);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.slb-modal-overlay.slb-modal-open {
	display: flex;
}

.slb-modal-box {
	position: relative;
	max-height: 90vh;
	overflow-y: auto;
	width: 100%;
	max-width: 600px;
}

.slb-modal-close {
	position: absolute;
	top: -6px;
	right: -6px;
	background: #fff;
	border: 1px solid #e3d9c6;
	border-radius: 50%;
	width: 34px;
	height: 34px;
	font-size: 1.3em;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
	color: #4a3b27;
}

.slb-empty {
	text-align: center;
	color: #8a7a5c;
	padding: 30px;
}

@media (max-width: 480px) {
	.slb-field-row {
		flex-direction: column;
		gap: 0;
	}
}
