/* ============================================================
   Összevont, több jegytípusos foglalási nézet
   (csak akkor renderelődik, ha a "combined_booking_enabled"
   ACF opció be van kapcsolva — lásd ProductPageChildren.php)
   ============================================================ */

#product-children.combined-booking {
	display: block;
	border: none;
	background: none;
	box-shadow: none;
}

.combined-booking-group {
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

.combined-booking-group:not(:last-of-type) {
	margin-bottom: 16px;
}

.combined-booking-group__header {
	margin-bottom: 4px;
}

.combined-booking-group__name {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #157e41;
}

.combined-booking-group__desc {
	margin: 2px 0 8px;
	font-size: 13px;
	font-weight: 400;
	color: #5a6b63;
}

.combined-booking-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(21, 126, 65, .12);
}

.combined-booking-row:last-of-type {
	border-bottom: none;
}

.combined-booking-row__name {
	flex: 1 1 160px;
	padding-left: 12px;
	font-weight: 600;
	position: relative;
}

.combined-booking-row__name .inline-error-message {
	display: block;
	font-weight: 400;
	font-size: 13px;
	color: #b23a3a;
	margin-bottom: 4px;
}

.combined-booking-row__field {
	flex: 0 0 130px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.combined-booking-row__field label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: #5a6b63;
}

.combined-booking-row__start-times {
	width: 100%;
	height: 36px;
	padding: 0 8px;
	box-sizing: border-box;
	border: 1px solid rgba(21, 126, 65, .3);
	border-radius: 4px;
	background: #fff;
	color: #157e41;
	font-size: 13px;
	font-weight: 600;
}

.combined-booking-row__price {
	flex: 0 0 110px;
	font-weight: 700;
	color: #157e41;
	text-align: right;
}

.combined-booking-row__quantity {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.combined-booking-row__quantity input.quantity {
	width: 48px;
	height: 36px;
	padding: 0 4px;
	box-sizing: border-box;
	text-align: center;
	border: 1px solid rgba(21, 126, 65, .3);
	border-radius: 4px;
}

.combined-booking-row__quantity button.quantity-minus,
.combined-booking-row__quantity button.quantity-plus {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 4px;
	background: rgba(21, 126, 65, .08);
	color: #157e41;
	font-weight: 700;
	cursor: pointer;
}

.combined-booking-row__quantity button.quantity-minus:hover,
.combined-booking-row__quantity button.quantity-plus:hover {
	background: rgba(21, 126, 65, .18);
}

.combined-booking-row__selected-date {
	flex: 1 1 100%;
	order: 9;
	font-size: 13px;
	font-weight: 400;
	color: #5a6b63;
}

.combined-booking-row__selected-date label {
	font-weight: 600;
	color: #157e41;
}

.combined-booking-group__footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(21, 126, 65, .12);
	position: relative;
}

button.combined-booking-group__submit {
	height: 44px;
	padding: 0 24px;
	border: none;
	border-radius: 4px;
	background: #157e41 !important;
	color: #fff !important;
	font-weight: 700;
	cursor: pointer;
}

button.combined-booking-group__submit:hover {
	background: #0c5d2e !important;
}

.combined-booking-group__submit.loading {
	opacity: .6;
	pointer-events: none;
}

.combined-booking-group__message {
	font-size: 14px;
	font-weight: 700;
}

.combined-booking-group__message.message-success {
	color: #157e41;
}

.combined-booking-group__message.message-error {
	color: #b23a3a;
}

.combined-booking-group__message.message-info {
	color: #8a6d1f;
}

/* Per-row error message, appended by messageUnderObj() right after the row
   name (a flex sibling within .combined-booking-row) — force it onto its
   own line instead of squeezing in as another flex column. */
.combined-booking-row__name + .message {
	flex: 1 1 100%;
	order: 10;
	font-size: 13px;
	font-weight: 400;
	margin-top: 4px;
}

.combined-booking-row__name + .message.message-error {
	color: #b23a3a;
}
