/* Nature Point — custom overrides layered on top of the captured Elementor styles. */

/* Elementor nested-accordion (itinerary "Detailed Itinerary", FAQ sections) — the toggle
   CSS isn't loaded on the new stack, so BOTH the open (calendar-minus) and closed
   (calendar-plus) icons show, plus the native <details> ▶ marker. Restore correct behaviour. */
.e-n-accordion-item > summary,
.e-n-accordion-item-title,
details.e-n-accordion-item > summary {
    list-style: none;
    cursor: pointer;
}
.e-n-accordion-item > summary::-webkit-details-marker,
.e-n-accordion-item-title::-webkit-details-marker,
.e-n-accordion-item > summary::marker {
    display: none;
}
.e-n-accordion-item-title-icon {
    display: inline-flex;
    align-items: center;
}
/* default (closed): show the "closed" icon only */
.e-n-accordion-item-title-icon > .e-opened { display: none; }
.e-n-accordion-item-title-icon > .e-closed { display: inline-flex; }
/* open: swap to the "opened" icon */
.e-n-accordion-item[open] .e-n-accordion-item-title-icon > .e-opened { display: inline-flex; }
.e-n-accordion-item[open] .e-n-accordion-item-title-icon > .e-closed { display: none; }


/* Safety: Elementor icon SVGs must scale to their font-size, not their raw pt size,
   so a decorative icon never blows up to full width if a rule is missing. */
.elementor-icon svg,
.elementor-icon-box-icon .elementor-icon svg,
.elementor-view-default .elementor-icon svg,
.elementor-view-stacked .elementor-icon svg,
.elementor-view-framed .elementor-icon svg {
    width: 1em;
    height: 1em;
}
/* The Plus Addons "Process Steps" illustration icons (terms/privacy/payment pages) —
   their raw SVGs ship at 682pt with no sizing rule on the new stack; cap them. */
.tp-ps-icon-img svg,
.tp-ps-icon-img img,
.tp-ps-icon svg,
.tp-process-steps-wrapper svg {
    width: auto !important;
    height: auto !important;
    max-width: 96px !important;
    max-height: 96px !important;
}
.tp-ps-icon-img {
    display: inline-block;
    max-width: 96px;
}

/* Elementor Pro popups (BOOK NOW -> Tour Booking Form, etc.) render inline on the new
   stack. Keep them OFF-SCREEN (not display:none, so the Pinch Hub embed still renders)
   until np-ui.js reveals them inside #np-popup-box. */
body > [data-elementor-type="popup"],
[data-elementor-type="popup"] {
    position: fixed !important;
    left: -99999px !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0;
    pointer-events: none;
}
#np-popup-box [data-elementor-type="popup"] {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
#np-popup-box #pinch-form-wrapper { min-height: 180px; }

/* JetSmartFilters radio + checkbox ("Customize Your Safari") → green pill buttons (match original) */
.jet-radio-list__row,
.jet-radio-list .jet-filter-row,
.jet-checkboxes-list__row,
.jet-checkboxes-list .jet-filter-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.jet-radio-list__item,
.jet-checkboxes-list__item {
    display: inline-flex !important;
    align-items: center;
    border: 1.5px solid #008749;
    border-radius: 999px;
    padding: 9px 20px !important;
    margin: 0 !important;
    cursor: pointer;
    color: #123F31;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
/* hide native input + the square checkbox decorator; keep only the text */
.jet-radio-list__input,
.jet-checkboxes-list__input {
    position: absolute !important;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
.jet-checkboxes-list__button .jet-checkbox,
.jet-checkboxes-list__decorator,
.jet-checkboxes-list__button > .jet-checkboxes-list__check {
    display: none !important;
}
.jet-checkboxes-list__button {
    display: inline-flex !important;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
}
.jet-radio-list__item:hover,
.jet-checkboxes-list__item:hover {
    background: #008749;
    color: #ffffff;
}
.jet-radio-list__item:has(.jet-radio-list__input:checked),
.jet-checkboxes-list__item:has(.jet-checkboxes-list__input:checked) {
    background: #008749;
    color: #ffffff;
    border-color: #008749;
}
