/* Enfants Nature public controls. Component dimensions follow the Valoria reference. */
.en-modern-form, .en-v3-discovery, .trip-list-header__sort {
 --en-field-bg:#f7f8f7; --en-field-border:#d5dad6; --en-field-ink:#222b24;
 --en-field-muted:#626b64; --en-field-accent:#347e37; --en-field-ring:rgba(52,126,55,.17);
}
.en-modern-form {font-family:"DM Sans",sans-serif;min-width:0;}
.elementor .elementor-widget-form .elementor-form.en-modern-form .elementor-field-group :is(input,textarea,select).elementor-field-textual:not(.tomselected),
.en-modern-form :is(input:not([type]),input[type="text"],input[type="email"],input[type="tel"],input[type="url"],input[type="search"],input[type="password"],input[type="number"],input[type="date"],input[type="time"],input[type="datetime-local"],select:not(.tomselected),textarea),
.en-modern-form .ts-control {
 box-sizing:border-box;width:100%;max-width:100%;min-height:48px;margin:0;padding:11px 14px;
 border:1px solid var(--en-field-border);border-radius:8px;background:var(--en-field-bg);color:var(--en-field-ink);
 font-family:"DM Sans",sans-serif;font-size:16px;font-weight:400;line-height:24px;box-shadow:none;
 transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.en-modern-form textarea {min-height:136px;resize:vertical;}
.en-modern-form :is(input,textarea)::placeholder {color:#707871;opacity:1;}
.elementor .elementor-widget-form .elementor-form.en-modern-form .elementor-field-group .elementor-field-textual:focus-visible,
.en-modern-form :is(input,select,textarea):focus-visible,
.en-modern-form .ts-wrapper.focus .ts-control {
 outline:none;border-color:var(--en-field-accent);box-shadow:0 0 0 3px var(--en-field-ring);background:#fff;
}
.en-modern-form :is(input,select,textarea):disabled,
.en-modern-form .ts-wrapper.disabled .ts-control {background:#edf0ed;color:#707871;cursor:not-allowed;opacity:.75;}
.elementor .elementor-widget-form .elementor-form.en-modern-form .elementor-field-group .elementor-field-textual[aria-invalid="true"],
.en-modern-form :is(input,select,textarea)[aria-invalid="true"],
.en-modern-form .elementor-error,
.en-modern-form .ts-wrapper.en-select-invalid .ts-control {border-color:#b42318;}
.en-modern-form :is(.elementor-field-label,label:not(:has(input[type="checkbox"],input[type="radio"]))) {
 font-family:"DM Sans",sans-serif;font-size:15px;font-weight:500;line-height:1.5;color:#26332a;
}
.en-modern-form .elementor-field-label {margin-bottom:7px;padding-bottom:0;}
.en-modern-form .elementor-field-group {min-width:0;}
.en-modern-form .elementor-select-wrapper {width:100%;}
.en-modern-form .elementor-select-wrapper:has(.ts-wrapper)::before,
.en-modern-form .elementor-select-wrapper:has(.ts-wrapper) > .select-caret-down-wrapper {display:none;}
.en-modern-form .ts-wrapper {width:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;background:transparent;}
.en-modern-form .ts-wrapper.single > .ts-control {display:flex;flex-wrap:nowrap;align-items:center;gap:4px;height:48px;padding-right:38px!important;cursor:pointer;}
/* The native select remains the submitted/validated field, never a second visible control. */
.en-modern-form select.tomselected.ts-hidden-accessible {width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;max-height:1px!important;}
.en-modern-form .ts-control > input {flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;line-height:24px!important;}
.en-modern-form .ts-control > .item {flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.en-modern-form .ts-wrapper.single .ts-control::after {content:"";position:absolute;right:16px;top:19px;width:8px;height:8px;border:solid #59645c;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);}
.en-modern-form .ts-wrapper.dropdown-active .ts-control::after {top:23px;transform:rotate(225deg);}
.en-modern-form .ts-dropdown,
.trip-list-header__sort .togo-select__content,
.en-v3-discovery .field-tour__result {
 box-sizing:border-box;border:1px solid #dfe4df;border-radius:10px;background:#fff;box-shadow:0 12px 34px rgba(0,0,0,.1);
 color:#26332a;font-family:"DM Sans",sans-serif;font-size:15px;line-height:1.5;overflow:hidden;
}
.en-modern-form .ts-dropdown {margin-top:6px;z-index:40;}
.en-modern-form .ts-dropdown-content {max-height:260px;padding:5px;overscroll-behavior:contain;}
.en-modern-form .ts-dropdown .option {padding:10px 12px;border-radius:6px;min-height:42px;cursor:pointer;}
.en-modern-form .ts-dropdown .option + .option {border-top:1px solid #f0f2f0;}
.en-modern-form .ts-dropdown .option.active {background:#edf6ee;color:#244f27;}
.en-modern-form .ts-dropdown .option.selected {background:#e4f1e5;color:#245d28;font-weight:500;}
.en-modern-form .ts-dropdown .option[aria-disabled="true"] {color:#7c847e;cursor:not-allowed;}
.en-modern-form .ts-dropdown .no-results {padding:12px;color:#626b64;}
.en-modern-form .en-select-error {display:block;margin:6px 0 0;color:#b42318;font-size:14px;line-height:1.5;}
.en-modern-form .en-select-error[hidden] {display:none;}
.en-modern-form input:is([type="checkbox"],[type="radio"]) {
 appearance:auto!important;-webkit-appearance:auto!important;display:inline-block!important;position:static!important;
 width:20px!important;height:20px!important;min-width:20px;min-height:20px;margin:0 10px 0 0;padding:0;
 flex:0 0 20px;visibility:inherit!important;opacity:1!important;clip:auto;clip-path:none;accent-color:var(--en-field-accent);vertical-align:middle;cursor:pointer;
}
.en-modern-form input:is([type="checkbox"],[type="radio"]):focus-visible {outline:2px solid var(--en-field-accent);outline-offset:3px;box-shadow:none;}
.en-modern-form :is(.login-remember,.register-as-vendor,.filter-checkbox) label {display:flex;align-items:center;gap:0;min-height:36px;padding-left:0;line-height:1.5;}
.en-modern-form .elementor-field-type-acceptance .elementor-field-option {display:flex;align-items:flex-start;}
.en-modern-form .elementor-field-type-acceptance input {margin-top:3px;}
.en-modern-form .elementor-field-type-acceptance label {font-size:14px;line-height:1.6;}
.en-modern-form.togo-trip-filter .filter-checkbox label > .togo-svg-icon {display:none!important;}
.en-modern-form.togo-trip-filter .filter-checkbox label::before,
.en-modern-form.togo-trip-filter .filter-checkbox label::after {display:none;}
.en-modern-form.togo-trip-filter .filter-checkbox {margin:0;}
.en-modern-form.togo-trip-filter .filter-checkbox label:has(input:checked) .label {color:var(--en-field-accent);}
.en-modern-form input[type="range"] {accent-color:var(--en-field-accent);}
.en-modern-form :is(button[type="submit"],input[type="submit"]):focus-visible {outline:3px solid var(--en-field-accent);outline-offset:3px;}
.en-modern-form :is(button[type="submit"],input[type="submit"]):disabled {cursor:wait;opacity:.65;}
/* Keep native AJAX sort links and the discovery combobox interactions. */
.trip-list-header__sort .togo-select__content {padding:5px;margin-top:8px;min-width:210px;z-index:50;}
.trip-list-header__sort .togo-select__content a {display:block;padding:10px 12px;border-radius:6px;font-size:15px;}
.trip-list-header__sort .togo-select__content li + li {border-top:1px solid #f0f2f0;}
.trip-list-header__sort .togo-select__content a:is(:hover,:focus-visible) {background:#edf6ee;color:#245d28;outline:none;}
.trip-list-header__sort-label:focus-visible {outline:2px solid #347e37;outline-offset:3px;}
.en-v3-discovery .field-tour__result .tour-item {padding:10px 12px;min-height:42px;}
.en-v3-discovery .field-tour__result .tour-item[aria-selected="true"] {background:#e4f1e5;color:#245d28;}
.en-v3-discovery input[role="combobox"]:focus-visible {outline:2px solid #347e37;outline-offset:4px;border-radius:4px;}
/* Only style an existing date picker; do not introduce a second date system. */
body:has(.en-modern-form) .flatpickr-calendar {border:1px solid #dfe4df;border-radius:10px;box-shadow:0 12px 34px rgba(0,0,0,.1);font-family:"DM Sans",sans-serif;}
body:has(.en-modern-form) .flatpickr-day.selected {background:#347e37;border-color:#347e37;}
@media(max-width:767px){
 .en-modern-form .ts-dropdown-content {max-height:220px;}
 .en-modern-form.togo-trip-filter .filter-checkbox label {min-height:40px;}
}
@media(prefers-reduced-motion:reduce){.en-modern-form :is(input,textarea,select,.ts-control){transition:none;}}

/* Native Togo labels draw a second checkbox on their adjacent span. */
.en-modern-form label:has(> input:is([type="checkbox"],[type="radio"])) > span::before,
.en-modern-form label:has(> input:is([type="checkbox"],[type="radio"])) > span::after {display:none!important;}
.en-modern-form :is(button[type="submit"],input[type="submit"]) {min-height:48px;padding:12px 24px;border-radius:999px;font-family:"DM Sans",sans-serif;font-size:16px;line-height:24px;}

/* Keep enquiry labels readable above entered values, matching programme forms. */
.enquiry-form.en-modern-form .form-group {display:flex;flex-direction:column;}
.enquiry-form.en-modern-form .form-group label.custom-placeholder {position:static!important;order:-1;display:block!important;visibility:visible!important;opacity:1!important;transform:none!important;margin:0 0 7px;padding:0;pointer-events:auto;}
.enquiry-form.en-modern-form textarea {min-height:136px;}

/* Keep the enquiry card bottom inset equal to its existing top inset. */
.en-programme-faq-contact .elementor-form-fields-wrapper{margin-bottom:0!important;}

/* Shared dropdown states: highlight the option; ring the field, never its bottom edge. */
body :is(.en-radix-menu .en-radix-option,.en-modern-form .ts-dropdown .option,.trip-list-header__sort .togo-select__content a,.en-v3-discovery .field-tour__result .tour-item):is(:hover,:focus,:focus-visible,.active,[data-highlighted],[aria-selected="true"]){outline:none!important;box-shadow:none!important;text-decoration:none!important;border-bottom-color:transparent;background:#edf7ee!important;color:#242b25!important}
body :is(.en-radix-trigger,.en-modern-form select:not(.tomselected),.trip-list-header__sort-label):not(:disabled):hover{border-color:#9baa9d;background:#f7f8f7}
body :is(.en-radix-trigger,.en-modern-form select:not(.tomselected),.trip-list-header__sort-label):focus-visible,body .en-modern-form .ts-wrapper.focus .ts-control{outline:none!important;border-color:#347e37!important;box-shadow:0 0 0 3px rgba(52,126,55,.17)!important;background:#fff}
/* The theme's decorative radio circles duplicate the actual Radix controls. */
.en-child-dialog .en-radix-radio-option::before,.en-child-dialog .en-radix-radio-option::after,.en-child-dialog .en-radix-radio-option>span::before,.en-child-dialog .en-radix-radio-option>span::after,.en-child-dialog button.en-radix-radio::before,.en-child-dialog button.en-radix-radio::after,.en-child-dialog .en-radix-radio-dot::before,.en-child-dialog .en-radix-radio-dot::after{display:none!important;content:none!important}
.en-child-dialog .en-radix-radio-option{padding-left:0!important}
.en-child-dialog .en-child-dialog-close{width:44px;height:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px;color:#26332a;border-radius:8px}
.en-child-dialog .en-child-dialog-close svg{width:24px!important;height:24px!important;flex:none}
.en-child-dialog .en-child-dialog-close:hover{background:#edf6ee;color:#347e37}
.en-child-dialog .en-child-dialog-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Preserve the existing amount typography while totals update. */
body .en-event-booking>.en-event-price>[data-en-entry-amount]{font:inherit;color:inherit}
/* Radix form proxies must stay invisible; the accessible control is the button. */
.en-child-dialog .en-control-host input[aria-hidden="true"]:is([type="radio"],[type="checkbox"]){display:none!important;opacity:0!important;position:absolute!important;pointer-events:none!important}
/* Linked child permissions stay compact; health fields retain their spacing. */
.en-child-dialog div.en-customer-consent:has(>label.en-customer-check){padding:6px 0;border:0;margin:0}
.en-child-dialog div.en-customer-consent>label.en-customer-check{margin:0;align-items:flex-start;line-height:1.5}

