/* "Create your own tour" form inside a tour page: the site / activity choices as clean, readable cards. */
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox ul,
.eo-custom-form-wrap .wpforms-field-checkbox ul {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 12px !important;
	list-style: none !important; padding: 0 !important; margin: 0 !important; width: 100% !important;
}
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li,
.eo-custom-form-wrap .wpforms-field-checkbox li {
	width: auto !important; max-width: none !important; float: none !important; min-width: 0 !important; margin: 0 !important;
	padding: 12px 14px !important; display: flex !important; align-items: center !important; gap: 10px !important;
	background: #f8fafc !important; border: 1.5px solid #e2e8f0 !important; border-radius: 12px !important; box-sizing: border-box !important;
}
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li:hover { border-color: #d4af37 !important; background: #fdfbf7 !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li label,
.eo-custom-form-wrap .wpforms-field-checkbox li label {
	display: flex !important; align-items: center !important; gap: 10px !important; flex: 1 1 auto !important; min-width: 0 !important;
	width: auto !important; margin: 0 !important; white-space: normal !important; word-break: normal !important; overflow-wrap: break-word !important;
	writing-mode: horizontal-tb !important; font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.35 !important; color: #1e293b !important; cursor: pointer;
}
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li label > * { min-width: 0; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li input[type="checkbox"] { flex: none !important; margin: 0 !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox .wpforms-icon-choices-icon { flex: none !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox .wpforms-icon-choices-label,
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox .wpforms-field-label-inline { white-space: normal !important; writing-mode: horizontal-tb !important; word-break: normal !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-label { text-transform: uppercase; letter-spacing: .04em; font-weight: 800; font-size: 13.5px; color: #0b1528; }
@media (max-width: 600px) {
	.eo-single-tour-page .wpforms-container .wpforms-field-checkbox ul { grid-template-columns: 1fr !important; }
}

/* The form is laid out in several narrow columns; inside a tour page those columns are only ~200px wide, so the
   choices were squeezed into one-letter-wide strips. Let the columns wrap onto new rows and share the width. */
.eo-single-tour-page .wpforms-container .wpforms-field-layout-columns { flex-wrap: wrap !important; gap: 22px !important; width: 100% !important; }
.eo-single-tour-page .wpforms-container .wpforms-layout-column { flex: 1 1 320px !important; width: auto !important; max-width: 100% !important; min-width: 0 !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox ul { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important; }

/* The text must get the room: hide the extra "+ SELECT" pill (the tick-box does that job) and let the name wrap normally. */
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li label::after,
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li label::before { display: none !important; content: none !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li .wpforms-icon-choices-label { flex: 1 1 auto !important; min-width: 80px !important; width: auto !important; display: block !important; white-space: normal !important; word-break: normal !important; overflow-wrap: normal !important; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li input[type="checkbox"] { position: static !important; opacity: 1 !important; width: 18px !important; height: 18px !important; order: 3; accent-color: #e0592a; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li .wpforms-icon-choices-label { order: 2; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li .wpforms-icon-choices-icon { order: 1; }
.eo-single-tour-page .wpforms-container .wpforms-field-checkbox li:has(input:checked) { border-color: #e0592a !important; background: #fff7f2 !important; box-shadow: 0 0 0 3px rgba(224, 89, 42, .12); }
