/**
 * Product booking — PDF layout (form + sticky image + totals bar).
 */

.csg-product-booking-wrap {
	padding-top: 1.5rem;
}

.csg-product-booking-card {
	background: #fff;
	border: 1px solid #e8e8e8;
	padding: 1.5rem 1.75rem 1.75rem;
}

.csg-product-gallery-sticky {
	position: sticky;
	top: 1.25rem;
}

.csg-product-booking-card__media .onsale,
.csg-product-booking-card__media .woocommerce-product-gallery__trigger {
	display: none !important;
}

.csg-product-booking-card__media .woocommerce-product-gallery {
	margin-bottom: 0;
}

.csg-product-booking-card__media .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 0;
}

.csg-product-booking-panel {
	background: transparent;
	border: 0;
	padding: 0;
}

/* Form fields — white backgrounds (PDF) */
.csg-product-booking-panel input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
.csg-product-booking-panel select,
.csg-product-booking-panel textarea,
.csg-product-booking-panel .form-control,
.csg-product-booking-panel .form-select {
	background-color: #fff;
}

.csg-product-booking-panel__header {
	margin-bottom: 1.25rem;
}

.csg-product-booking-panel__header .csg-breadcrumb {
	margin-bottom: 0.75rem;
}

.csg-product-booking-panel__title {
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 0.35rem;
	line-height: 1.2;
}

.csg-product-booking-panel__subtitle {
	margin: 0 0 0.75rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--bs-body-color);
}

.csg-product-booking-panel__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.1rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.csg-product-booking-panel__trust-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--csg-text-muted, #6c757d);
}

.csg-product-booking-panel__trust-icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	color: var(--bs-primary);
}

.csg-product-booking-panel__trust-icon svg {
	width: 100%;
	height: 100%;
}

.csg-product-booking-panel__title-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.35rem;
}

.csg-product-booking-panel__title-row .csg-product-booking-panel__title {
	margin-bottom: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.csg-product-booking-panel__thumb {
	flex: 0 0 auto;
	width: 4rem;
	height: 2.35rem;
	border-radius: 999px;
	overflow: hidden;
	line-height: 0;
}

.csg-product-booking-panel__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.csg-product-shell--small-image .csg-product-booking-card__row {
	--bs-gutter-y: 0;
}

/* Price block compact (under title area via summary) */
.csg-product-booking-form > .cg-price-wrap:first-child,
.csg-product-booking-form > .price:first-child {
	margin-top: 0;
}

.csg-product-booking-form .cg-price-wrap {
	margin-bottom: 1.25rem;
}

.csg-product-booking-form .cg-price__row {
	border: 0;
	box-shadow: none;
	padding: 0;
	background: transparent;
	justify-content: flex-start;
	gap: 1.5rem;
}

.csg-product-booking-form .cg-price__label {
	font-weight: 600;
	opacity: 1;
	min-width: 4.5rem;
}

/* Variation: taal / language — custom flag dropdown */
.csg-product-booking-panel table.variations {
	margin-bottom: 1.25rem;
	border: 0;
}

.csg-product-booking-panel table.variations tbody,
.csg-product-booking-panel table.variations tr,
.csg-product-booking-panel table.variations td,
.csg-product-booking-panel table.variations th {
	border: 0;
	display: block;
	padding: 0;
}

.csg-product-booking-panel table.variations tr.csg-variation-lang-row {
	margin-bottom: 0.5rem;
}

.csg-product-booking-panel table.variations tr.csg-variation-lang-row th {
	margin-bottom: 0.5rem;
}

.csg-product-booking-panel table.variations tr.csg-variation-lang-row th label {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

.csg-product-booking-panel table.variations .csg-variation-lang__native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.csg-variation-lang {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	width: 100%;
	min-width: 17.5rem;
	max-width: 30rem;
}

.csg-variation-lang__dropdown {
	width: 100%;
	min-width: 17.5rem;
	max-width: 30rem;
}

.csg-variation-lang .csg-lang-dropdown__option {
	gap: 0.85rem;
	padding-left: 0.85rem;
	padding-right: 0.85rem;
}

.csg-variation-lang .csg-lang-dropdown__option-label {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 0.35rem;
}

.csg-variation-lang__clear {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--bs-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.csg-variation-lang__clear:hover {
	color: var(--bs-primary);
}

.csg-product-booking-panel table.variations .reset_variations:not(.csg-variation-lang__clear) {
	display: none;
}

.csg-booking-section-title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 1.25rem 0 0.75rem;
	color: var(--bs-body-color);
}

.csg-booking-section-title--participants {
	margin-top: 1rem;
}

/* Stepper */
.csg-booking-stepper {
	margin-bottom: 1.25rem;
}

.csg-booking-stepper__list {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.csg-booking-stepper__item {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 0.85rem;
	background: #f5f5f5;
	border: 2px solid #e8e8e8;
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--csg-text-muted, #6c757d);
}

.csg-booking-stepper__item.is-active {
	background: #fff;
	border-color: var(--bs-primary);
	color: var(--bs-primary);
}

.csg-booking-stepper__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #e8e8e8;
	font-size: 0.75rem;
}

.csg-booking-stepper__item.is-active .csg-booking-stepper__num {
	background: var(--bs-primary);
	color: #fff;
}

.csg-booking-step[hidden] {
	display: none !important;
}

/* Participants — qty row + 3-col fields */
.csg-participants-block {
	margin-bottom: 0.5rem;
}

.csg-participants-qty-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem 1.25rem;
	margin-bottom: 0.25rem;
}

.csg-participants-qty-field {
	flex: 0 0 5.5rem;
}

.csg-participants-qty-input {
	width: 100%;
	min-height: 2.5rem;
	padding: 0.5rem 0.65rem;
	font-size: 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	background: #fff;
}

.csg-participants-qty-stepper {
	flex: 0 0 auto;
	display: flex;
	align-items: stretch;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	overflow: hidden;
}

.csg-participants-qty-stepper__btn {
	flex: 0 0 auto;
	width: 2.5rem;
	min-height: 2.5rem;
	border: 0;
	background: #f3f2f2;
	color: var(--bs-body-color);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.csg-participants-qty-stepper__btn:hover,
.csg-participants-qty-stepper__btn:focus-visible {
	background: rgba(var(--bs-primary-rgb), 0.1);
	color: var(--bs-primary);
	outline: none;
}

.csg-participants-qty-stepper__btn:active {
	background: rgba(var(--bs-primary-rgb), 0.18);
}

.csg-participants-qty-stepper .csg-participants-qty-input {
	width: 3.25rem;
	min-width: 0;
	border: 0;
	border-left: 1px solid #cbd5e1;
	border-right: 1px solid #cbd5e1;
	border-radius: 0;
	text-align: center;
	/* Numeric spinners removed — the +/- buttons replace them and take less space. */
	-moz-appearance: textfield;
}

.csg-participants-qty-input::-webkit-outer-spin-button,
.csg-participants-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.csg-add-participant-btn {
	display: inline-flex;
	align-items: center;
	margin-top: 0.75rem;
	padding: 0.55rem 0;
	border: 0;
	background: transparent;
	color: var(--bs-primary);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.csg-add-participant-btn:hover {
	text-decoration: underline;
}

.csg-add-participant-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	text-decoration: none;
}

#cg-participant-quantity-section .quantity {
	display: none !important;
}

.csg-participant-fields-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.cg-participant-row {
	padding: 1rem 1.15rem;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	background: #f5f5f5;
}

.cg-participant-row__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e0e0e0;
}

.cg-participant-row__label {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--bs-body-color, #212529);
}

.cg-participant-remove {
	padding: 0.2rem 0.5rem;
	border: 0;
	background: transparent;
	color: var(--bs-primary);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

.cg-participant-row__fields {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.cg-participant-row__options {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-top: 0.15rem;
	padding-top: 0.5rem;
	border-top: 1px solid #e8e8e8;
}

.cg-participant-row__field--cert,
.cg-participant-row__field--herk {
	grid-column: auto;
}

.cg-participant-row__field--herk {
	display: block;
}

.cg-participant-row__cert,
.cg-participant-row__herk {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bs-body-color, #212529);
}

.cg-participant-row__herk-label-row {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.35;
}

.cg-participant-row__herk-leading {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.35rem;
	max-width: 100%;
}

.cg-participant-row__herk-text {
	flex: 1 1 auto;
	min-width: 0;
}

.cg-participant-row__herk-info {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	margin: 0.1rem 0 0;
	padding: 0;
	flex: 0 0 auto;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	background: #fff;
	color: var(--bs-primary, #039dd3);
	font-size: 0.6875rem;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cg-participant-row__herk-info:hover,
.cg-participant-row__herk-info:focus-visible,
.cg-participant-row__herk-info.is-open {
	border-color: var(--bs-primary, #039dd3);
	background: rgba(var(--bs-primary-rgb, 3, 157, 211), 0.08);
	outline: none;
}

.cg-participant-row__herk-info.is-open {
	box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb, 3, 157, 211), 0.15);
}

.cg-participant-row__herk-info-icon {
	display: block;
	transform: translateY(-0.5px);
}

.cg-participant-row__herk-detail {
	display: grid;
	grid-template-rows: 0fr;
	margin: 0 0 0 calc(1rem + 0.5rem);
	transition: grid-template-rows 0.25s ease, margin-top 0.25s ease;
}

.cg-participant-row__field--herk.is-detail-open .cg-participant-row__herk-detail {
	grid-template-rows: 1fr;
	margin-top: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
	.cg-participant-row__herk-detail {
		transition: none;
	}
}

.cg-participant-row__herk-detail-inner {
	overflow: hidden;
	min-height: 0;
}

.cg-participant-row__herk-detail-text {
	margin: 0;
	padding: 0.6rem 0.7rem;
	border-left: 3px solid var(--bs-primary, #039dd3);
	border-radius: 0 4px 4px 0;
	background: rgba(var(--bs-primary-rgb, 3, 157, 211), 0.07);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--bs-body-color, #212529);
}

.cg-participant-row__cert-input,
.cg-participant-row__herk-input {
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	margin: 0.15rem 0 0;
	accent-color: var(--bs-primary);
	cursor: pointer;
}

.cg-participant-row__cert-text {
	flex: 0 1 auto;
	min-width: 0;
}

@media (min-width: 768px) {
	.cg-participant-row__cert,
	.cg-participant-row__herk {
		font-size: 0.8125rem;
	}
}

.cg-participant-row__field-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.cg-participant-row__field-label .required {
	color: #dc2626;
}

.cg-participant-row__input {
	width: 100%;
	min-height: 2.5rem;
	padding: 0.5rem 0.65rem;
	font-size: 0.9375rem;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	background: #fff;
}

.cg-participant-row__input:focus {
	outline: none;
	border-color: var(--bs-primary);
	background: #fff;
	box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.15);
}

/* Session date — 2 columns */
.csg-product-booking-form .course-dates.cg-session-booking .cg-session-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

/* Footer + checkout bar (PDF) */
.csg-booking-footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e8e8e8;
}

.csg-booking-checkout-bar {
	display: grid;
	grid-template-columns: 1fr minmax(12rem, 16rem);
	gap: 1.5rem 2rem;
	align-items: start;
}

.csg-booking-checkout-bar__totals {
	min-width: 0;
}

.csg-booking-totals-table,
.csg-booking-checkout-bar__totals .csg-certificaatpas-totals {
	font-size: 0.9375rem;
}

.csg-certificaatpas-totals__inner {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.csg-certificaatpas-totals__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	color: var(--csg-text-muted, #6c757d);
}

.csg-certificaatpas-totals__row--grand {
	font-weight: 700;
	font-size: 1rem;
	color: var(--bs-body-color);
	margin-top: 0.25rem;
}

.csg-certificaatpas-totals__tax {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid #e8e8e8;
}

.csg-booking-checkout-bar__totals .wapf-product-totals {
	font-size: 0.9375rem;
}

.csg-booking-checkout-bar__totals .wapf--inner,
.csg-booking-checkout-bar__totals .wapf-product-totals > div {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.csg-booking-checkout-bar__totals .wapf--inner > div:not(.tax-breakdown),
.csg-booking-checkout-bar__totals .wapf-product-totals .wapf-product-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	color: var(--csg-text-muted, #6c757d);
}

.csg-booking-checkout-bar__totals .wapf-grand-total,
.csg-booking-checkout-bar__totals .wapf--inner > div:not(.tax-breakdown):last-of-type {
	font-weight: 700;
	font-size: 1rem;
	color: var(--bs-body-color);
	margin-top: 0.25rem;
}

.csg-booking-checkout-bar__totals .tax-breakdown {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px solid #e8e8e8;
}

.csg-booking-checkout-bar__totals .tax-breakdown .tax-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.25rem;
	width: 100%;
}

.csg-booking-checkout-bar__totals .tax-breakdown .tax-row span:first-child {
	flex: 1 1 auto;
}

.csg-booking-checkout-bar__totals .tax-breakdown .tax-excl,
.csg-booking-checkout-bar__totals .tax-breakdown .tax-incl {
	flex: 0 0 auto;
	white-space: nowrap;
}

.csg-product-booking-panel--single .csg-booking-checkout-bar__price {
	display: none !important;
}

.csg-booking-checkout-bar__cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
}

.csg-booking-checkout-bar__price {
	text-align: right;
	font-weight: 700;
	font-size: 1.125rem;
	line-height: 1.3;
}

.csg-booking-checkout-bar__price-label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--csg-text-muted, #6c757d);
}

.csg-booking-checkout-bar__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	min-width: 0;
}

.csg-booking-cart-slot {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	width: 100%;
}

.csg-booking-checkout-bar__buttons .btn,
.csg-booking-checkout-bar__buttons .single_add_to_cart_button,
.csg-booking-checkout-bar__buttons .csg-booking-submit-cart {
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-height: 2.75rem;
	font-size: 1.0625rem !important;
	font-weight: 700;
	line-height: 1.25;
	padding: 0.65rem 1rem;
	border-radius: 4px;
	white-space: normal;
	text-align: center;
}

.csg-booking-checkout-bar__buttons .btn-outline-csg {
	min-height: auto !important;
	width: auto !important;
	align-self: center;
	border: 0;
	background: transparent;
	color: var(--csg-text-muted, #6c757d);
	font-size: 0.875rem !important;
	font-weight: 600;
	padding: 0.35rem 0.5rem;
	text-decoration: underline;
	text-underline-offset: 2px;
	order: 2;
}

.csg-booking-checkout-bar__buttons .btn-outline-csg:hover,
.csg-booking-checkout-bar__buttons .btn-outline-csg:focus-visible {
	background: transparent;
	color: var(--bs-primary);
	border-color: transparent;
}

.csg-booking-checkout-bar__buttons .btn-primary {
	--bs-btn-bg: var(--bs-primary);
	--bs-btn-border-color: var(--bs-primary);
	--bs-btn-hover-bg: var(--bs-link-hover-color, var(--bs-primary));
	--bs-btn-hover-border-color: var(--bs-link-hover-color, var(--bs-primary));
	background: var(--bs-primary);
	border: 2px solid var(--bs-primary);
	color: #fff;
	min-height: 3.25rem !important;
	font-size: 1.125rem !important;
	box-shadow: 0 6px 18px rgba(var(--bs-primary-rgb), 0.28);
	order: 1;
}

.csg-booking-checkout-bar__buttons .btn-primary:hover,
.csg-booking-checkout-bar__buttons .btn-primary:focus-visible {
	background: var(--bs-link-hover-color, var(--bs-primary));
	border-color: var(--bs-link-hover-color, var(--bs-primary));
	color: #fff;
}

.btn-csg {
	background: var(--bs-primary);
	border: 2px solid var(--bs-primary);
	color: #fff;
	font-weight: 700;
}

.btn-csg:hover,
.btn-csg:focus {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
	filter: brightness(0.92);
}

.csg-booking-next,
.csg-product-booking-panel .csg-booking-submit-checkout.button,
.csg-product-booking-panel .single_add_to_cart_button.csg-booking-submit-checkout.button {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
}

/* Hide duplicate WooCommerce button (theme renders one in cart slot). */
.csg-product-booking-panel--steps .csg-booking-footer .single_add_to_cart_button:not(.csg-booking-submit-checkout),
.csg-product-booking-panel--single .csg-booking-footer .single_add_to_cart_button:not(.csg-booking-submit-checkout) {
	display: none !important;
}

/* Steps layout: same footer buttons as single (no separate opties step). */
.csg-product-booking-panel--steps .csg-booking-cart-slot,
.csg-product-booking-panel--steps .csg-booking-cart-slot .csg-booking-submit-checkout,
.csg-product-booking-panel--steps .csg-booking-cart-slot .csg-booking-submit-cart {
	display: flex !important;
}

.csg-product-booking-panel--steps .csg-booking-checkout-bar {
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.csg-product-booking-panel--steps .csg-booking-checkout-bar__cta {
	width: 100%;
	max-width: 100%;
}

.csg-product-booking-panel--steps .csg-booking-checkout-bar__price {
	display: none;
}

.csg-product-booking-panel--steps .csg-booking-checkout-bar__buttons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	align-items: stretch;
	width: 100%;
}

.csg-product-booking-panel--steps .csg-booking-checkout-bar__buttons .btn-outline-csg {
	justify-self: center;
}

.csg-product-booking-panel--steps .csg-booking-payment-note {
	text-align: left;
}

.csg-product-booking-panel--steps .csg-booking-back,
.csg-product-booking-panel--steps .csg-booking-next {
	display: none !important;
}

/* Single layout: one add to cart in footer slot */
.csg-product-booking-panel--single .csg-booking-footer .csg-booking-checkout-bar + .csg-booking-checkout-bar {
	display: none !important;
}

.csg-product-booking-panel--single .csg-booking-cart-slot,
.csg-product-booking-panel--single .csg-booking-cart-slot .csg-booking-submit-checkout,
.csg-product-booking-panel--single .csg-booking-cart-slot .csg-booking-submit-cart {
	display: flex !important;
	width: 100%;
}

/* Hide duplicate native WC button once the footer slot has one. */
.csg-product-booking-panel--single:has(.csg-booking-cart-slot .csg-booking-submit-checkout)
	.woocommerce-variation-add-to-cart
	> .single_add_to_cart_button,
.csg-product-booking-panel--single:has(.csg-booking-cart-slot .csg-booking-submit-checkout)
	form.cart
	> .single_add_to_cart_button {
	display: none !important;
}

.csg-product-booking-panel--single .csg-booking-back,
.csg-product-booking-panel--single .csg-booking-next {
	display: none !important;
}

.csg-booking-options {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

/* Single layout — vertical flow (PDF) */
.csg-product-booking-panel--single .course-dates {
	margin-bottom: 0.25rem;
}

.csg-product-booking-panel--single #cg-participant-quantity-section {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

.csg-product-booking-panel--single .cg-booking-confirmation {
	margin-top: 1rem;
}

.csg-product-booking-panel--single .csg-booking-footer {
	margin-top: 1.25rem;
}

.csg-booking-payment-note {
	text-align: right;
}

.csg-booking-payment-note__text {
	line-height: 1.45;
}

.csg-booking-payment-methods {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5rem 0.65rem;
	margin: 0.65rem 0 0;
	padding: 0;
	list-style: none;
}

.csg-booking-payment-methods__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.csg-booking-payment-methods__item img {
	display: block;
	height: 1.75rem;
	width: auto;
	max-width: 4rem;
	object-fit: contain;
}

.csg-booking-payment-methods__item--wero img {
	height: 2.25rem;
	max-width: 5.5rem;
}

.csg-booking-payment-methods__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.5rem;
	height: 1.75rem;
	padding: 0 0.65rem;
	border: 1px solid #d8dde2;
	border-radius: 4px;
	background: #fff;
	color: #1f2937;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.csg-booking-payment-methods__item--factuur .csg-booking-payment-methods__badge {
	min-width: 5rem;
}

.csg-booking-notice-wrap {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #e8e8e8;
}

.csg-booking-notice {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--csg-text-muted, #6c757d);
}

.csg-booking-selection-hint {
	display: block;
	margin: 0.35rem 0 0.85rem;
	padding: 0.45rem 0.65rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	font-weight: 600;
	color: #7a4d00;
	background: #fff8e8;
	border: 1px solid #f0d9a8;
	border-radius: 4px;
}

.csg-booking-selection-hint[hidden] {
	display: none !important;
}

.course-dates .csg-booking-selection-hint {
	margin-top: 0.5rem;
}

.variations .csg-booking-selection-hint {
	margin-top: 0.25rem;
}

.csg-field--missing,
.csg-lang-dropdown.csg-field--missing .csg-lang-dropdown__trigger {
	border-color: #e8a317 !important;
	box-shadow: 0 0 0 1px rgba(232, 163, 23, 0.25);
}

.cg-booking-confirmation {
	margin: 1rem 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.cg-booking-confirmation__text {
	font-size: 0.875rem;
	line-height: 1.45;
}

.csg-product-info {
	background: #fff;
}

.csg-product-info__heading {
	font-weight: 700;
}

@media (min-width: 768px) {
	.csg-product-booking-panel__thumb {
		width: 4.35rem;
		height: 2.55rem;
	}
}

@media (max-width: 991.98px) {
	.csg-product-gallery-sticky {
		position: static;
	}

	.csg-product-booking-card__media {
		order: -1;
	}

	.cg-participant-row {
		padding: 1.1rem 1rem;
	}

	.cg-participant-row__fields {
		grid-template-columns: 1fr;
	}

	.csg-booking-checkout-bar {
		grid-template-columns: 1fr;
	}

	.csg-booking-checkout-bar__price,
	.csg-booking-payment-note {
		text-align: left;
	}

	.csg-booking-payment-methods {
		justify-content: flex-start;
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
		gap: 0.5rem;
		max-width: 100%;
	}

	.csg-booking-payment-methods__item img {
		margin: 0 auto;
	}

	.csg-booking-payment-methods__badge {
		width: 100%;
		min-width: 0;
	}

	.csg-product-booking-panel--steps.is-booking-step-2 .csg-booking-checkout-bar__buttons,
	.csg-product-booking-panel--steps[data-booking-current-step="2"] .csg-booking-checkout-bar__buttons {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	.csg-product-booking-panel__title {
		font-size: 1.2rem;
		line-height: 1.35;
	}

	.csg-product-booking-panel__title-row {
		align-items: flex-start;
		gap: 0.75rem;
	}
}

@media (max-width: 575.98px) {
	.csg-product-booking-panel__title {
		font-size: 1.0625rem;
	}

	.csg-product-booking-card {
		padding: 1rem;
	}

	.csg-product-content-section {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.csg-booking-stepper__label {
		font-size: 0.7rem;
	}

	.csg-product-booking-form .course-dates.cg-session-booking .cg-session-fields {
		grid-template-columns: 1fr;
	}
}
