/**
 * NextGen Rental – Styles
 * Car rental booking widgets: date picker, time dropdown, location, search.
 */

/* ==========================================================================
   0. Full-width pickup when dropoff is hidden
   ========================================================================== */

[data-ng-fullwidth="true"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ==========================================================================
   0b. Unified Location Picker
   ========================================================================== */

.ngr-loc-unified {
    width: 100%;
}

.ngr-loc-fields {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* Side-by-side layout (default) */
.ngr-loc-fields--row {
    flex-direction: row;
    flex-wrap: wrap;
}

/* Stacked layout */
.ngr-loc-fields--stacked {
    flex-direction: column;
}

.ngr-loc-fields--stacked .ngr-loc-field {
    flex: 1 1 100%;
    width: 100%;
}

.ngr-loc-field {
    flex: 1 1 0;
    min-width: 0;
    transition: flex 0.25s ease;
}

.ngr-loc-field.ngr-loc-full {
    flex: 1 1 100%;
}

.ngr-loc-field .ngr-location-select {
    width: 100%;
}

.ngr-loc-toggle {
    margin-top: 10px;
}

.ngr-loc-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
}

.ngr-loc-toggle-cb {
    margin: 0;
}

@media (max-width: 767px) {
    .ngr-loc-fields--row {
        flex-direction: column;
    }
}

/* ==========================================================================
   1. Shared / Labels
   ========================================================================== */

.ngr-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.3;
}

.ngr-required {
    color: #e74c3c;
    margin-left: 2px;
}

/* ==========================================================================
   2. Location Picker
   ========================================================================== */

.ngr-location-picker-wrapper {
    margin-bottom: 0;
}

.ngr-location-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.ngr-location-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Different Return Location Toggle */
.ngr-different-location-wrapper {
    margin-top: 12px;
}

.ngr-different-location-toggle {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    transition: color 0.2s;
}

.ngr-different-location-toggle:hover {
    color: #000;
}

.ngr-different-location-icon {
    display: flex;
    align-items: center;
    margin-right: 8px;
    font-size: 14px;
    color: #ff5a00;
    transition: transform 0.2s;
}

.ngr-different-location-toggle[aria-expanded="true"] .ngr-different-location-icon {
    transform: rotate(45deg);
}

.ngr-different-dropoff {
    margin-top: 12px;
}

/* ==========================================================================
   3. Date Picker – input
   ========================================================================== */

.ngr-date-picker-wrapper {
    margin-bottom: 0;
}

.ngr-date-input-wrapper {
    position: relative;
}

.ngr-date-input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    pointer-events: none;
    z-index: 1;
}

.ngr-date-input-wrapper.icon-left .ngr-date-input-icon {
    left: 14px;
}

.ngr-date-input-wrapper.icon-right .ngr-date-input-icon {
    right: 14px;
}

.ngr-date-input-wrapper.icon-left .ngr-date-input {
    padding-left: 40px;
}

.ngr-date-input-wrapper.icon-right .ngr-date-input {
    padding-right: 40px;
}

.ngr-date-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ngr-date-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* ==========================================================================
   4. Flatpickr overrides (desktop 2-month calendar)
   ========================================================================== */

.flatpickr-calendar {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
}

.flatpickr-months {
    padding: 8px 4px 0;
}

.flatpickr-months .flatpickr-month {
    height: 36px;
}

.flatpickr-current-month {
    font-size: 15px;
    font-weight: 600;
}

.flatpickr-day {
    border-radius: 50%;
    max-width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
}

.flatpickr-day.today:not(.selected) {
    border-color: #3498db;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #3498db;
    border-color: #3498db;
    color: #fff;
}

.flatpickr-day:hover {
    background: #eaf4fd;
    border-color: #eaf4fd;
}

span.flatpickr-weekday {
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

/* ==========================================================================
   5. Mobile Calendar Overlay (custom – vertical scrollable months)
   ========================================================================== */

body.ngr-overlay-open {
    overflow: hidden;
}

/* Body-mounted host: real full-viewport layer above headers/sticky bars (fixed was clipped inside some Elementor parents).
   When .ngr-vv-synced, JS sets top/left/width/height from visualViewport (mobile Chrome toolbar show/hide). */
.ngr-mobile-overlay-host {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    overflow: visible !important;
}

/* JS appends this around body-mounted mobile overlay so .elementor-{postId} ancestors match Elementor CSS */
.ngr-elementor-post-scope {
    position: static;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    width: auto;
    height: auto;
    overflow: visible;
}

/* Popover top layer (time-picker.js mobile): override UA popover box model */
.ngr-mobile-overlay-host.ngr-mobile-overlay-host--top-layer[popover] {
    margin: 0 !important;
    max-width: none !important;
    max-height: none !important;
    inset: 0 !important;
}

.ngr-mobile-overlay-host > .ngr-mobile-calendar-overlay {
    pointer-events: auto;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    /* Do not force transform — Elementor / theme rules must win for open animation and custom styles */
}

.ngr-mobile-calendar-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #fff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ngr-mobile-calendar-overlay.ngr-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.ngr-mobile-cal-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
    position: relative;
    gap: 8px;
}

/* “After title” = close on end side (e.g. right in LTR) via row-reverse */
.ngr-mobile-cal-header.ngr-mobile-cal-header--stack-back,
.elementor-element.ngr-mcal-stack--back .ngr-mobile-cal-header {
    flex-direction: row-reverse;
}

.ngr-mobile-cal-close {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 0 12px 0 0;
}

.ngr-mobile-cal-header.ngr-mobile-cal-header--stack-back .ngr-mobile-cal-close,
.elementor-element.ngr-mcal-stack--back .ngr-mobile-cal-close {
    padding: 0 0 0 12px;
}

.ngr-mobile-cal-title {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    font-size: 17px;
    font-weight: 600;
}

/* ─── Elementor editor: inline mobile preview (same markup as frontend) ─── */
.elementor-element .ngr-editor-mobile-preview {
    margin-top: 16px;
    width: 100%;
}

.elementor-element .ngr-editor-mobile-preview-note {
    font-size: 12px;
    line-height: 1.45;
    color: #666;
    margin: 0 0 10px;
}

.elementor-element .ngr-mobile-calendar-overlay.ngr-mobile-cal-editor-preview {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    min-height: 360px;
    max-height: min(85vh, 640px);
    z-index: 2;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.elementor-element .ngr-mobile-cal-editor-preview .ngr-mobile-cal-scroll {
    max-height: min(70vh, 560px);
}

/* Scrollable body */
.ngr-mobile-cal-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 40px;
}

/* Individual month block */
.ngr-mobile-month {
    margin-bottom: 12px;
}

.ngr-mobile-month-title {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 18px 0 10px;
    color: #222;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

/* 7-column grid for days */
.ngr-mobile-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.ngr-mobile-wday {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    padding: 4px 0 8px;
    text-transform: uppercase;
}

.ngr-mobile-day-empty {
    /* placeholder cell */
}

.ngr-mobile-cal-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 48px;
    margin: 0 auto;
    font-size: 15px;
    border-radius: 50%;
    cursor: pointer;
    color: #222;
    user-select: none;
    transition: background 0.15s;
}

.ngr-mobile-cal-day:active {
    background: #d8ecfb;
}

.ngr-mobile-cal-day.ngr-day-today {
    font-weight: 700;
    box-shadow: inset 0 0 0 2px #3498db;
}

.ngr-mobile-cal-day.ngr-day-selected {
    background: #3498db;
    color: #fff;
    font-weight: 600;
}

.ngr-mobile-cal-day.ngr-day-disabled {
    color: #ccc;
    pointer-events: none;
    cursor: default;
}

/* Mobile full-screen time picker (reuses date overlay shell + scroll area) */
.ngr-mobile-calendar-overlay .ngr-time-dropdown--mobile-shell {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    max-height: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    z-index: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ngr-mobile-calendar-overlay .ngr-time-dropdown--mobile-shell .ngr-time-grid {
    padding: 12px 8px 28px;
    max-width: 420px;
    margin: 0 auto;
}

/*
 * Ghost “hover” while scrolling: time-picker.js adds .ngr-mobile-cal-scroll-active during touch-move
 * so rows get pointer-events: none — no fake :hover, colors stay exactly as Elementor/base CSS.
 */
@media (hover: none) {
    .ngr-mobile-calendar-overlay .ngr-mobile-cal-scroll .ngr-time-option {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        transition: none;
    }
}

.ngr-mobile-calendar-overlay.ngr-mobile-cal-scroll-active .ngr-mobile-cal-scroll .ngr-time-option {
    pointer-events: none !important;
}

/* Time Picker widget: close on end side (Elementor prefix on wrapper) */
.elementor-element.ngr-mtime-stack--back .ngr-mobile-cal-header {
    flex-direction: row-reverse;
}

.elementor-element.ngr-mtime-stack--back .ngr-mobile-cal-close {
    padding: 0 0 0 12px;
}

/* ==========================================================================
   6. Time Picker – Sixt-style (grouped sections, 2-col grid)
   ========================================================================== */

.ngr-time-picker-wrapper {
    position: relative;
    margin-bottom: 0;
}

.ngr-time-picker-wrapper.ngr-time-active {
    z-index: 3;
}

/* Body or nested portal (time-picker.js): fixed anchor; dropdown keeps pointer-events.
   .ngr-time-portal-root--top-layer uses popover=manual so the browser paints in the top layer
   (above Elementor off-canvas regardless of z-index). */
.ngr-time-dropdown-portal-root {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: var(--ngr-time-portal-z, 2147483000) !important;
}

/* Reset UA popover styles (Chrome centers / constrains by default). */
.ngr-time-dropdown-portal-root[popover] {
    max-width: none !important;
    max-height: none !important;
    inset: auto !important;
}

.ngr-time-dropdown-portal-root:popover-open {
    position: fixed !important;
}

.ngr-time-dropdown-portal-root .ngr-time-dropdown.ngr-time-dropdown-portal {
    pointer-events: auto !important;
}

/* Editor style probe: must not paint as a second “modal” (avoid ngr-open + absolute). */
.ngr-time-style-probe {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.ngr-time-style-probe .ngr-time-dropdown-probe-measure {
    position: static !important;
    display: block !important;
    visibility: hidden !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    min-width: 280px !important;
    max-height: none !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none !important;
}

/* Stacking vs viewport siblings is handled on .ngr-time-dropdown-portal-root; inner z-index only orders inside the portal. */
.ngr-time-dropdown.ngr-time-dropdown-portal {
    position: fixed !important;
    z-index: 1 !important;
    max-width: calc(100vw - 16px) !important;
    box-sizing: border-box;
}

/* Tokens from getComputedStyle while panel was under {{WRAPPER}} (time-picker.js).
   !important beats theme `button` rules on body; values mirror Elementor/widget CSS. */
.ngr-time-dropdown.ngr-time-dropdown-portal .ngr-time-grid {
    gap: var(--ngr-p-gap, 8px) !important;
}

.ngr-time-dropdown.ngr-time-dropdown-portal .ngr-time-option:not(.ngr-selected) {
    background-color: var(--ngr-p-bg, #f7f7f7) !important;
    color: var(--ngr-p-color, #333) !important;
    border-color: var(--ngr-p-border, #e8e8e8) !important;
    border-radius: var(--ngr-p-br, 6px) !important;
    padding: var(--ngr-p-pad, 10px 16px) !important;
    font-size: var(--ngr-p-fs, 14px) !important;
    font-weight: var(--ngr-p-fw, 500) !important;
}

.ngr-time-dropdown.ngr-time-dropdown-portal .ngr-time-option:not(.ngr-selected):hover,
.ngr-time-dropdown.ngr-time-dropdown-portal .ngr-time-option:not(.ngr-selected):focus {
    background-color: var(--ngr-p-bg-hover) !important;
    color: var(--ngr-p-color-hover, var(--ngr-p-color, #333)) !important;
    border-color: var(--ngr-p-border-hover, var(--ngr-p-border, #e8e8e8)) !important;
    outline: none;
}

.ngr-time-dropdown.ngr-time-dropdown-portal .ngr-time-option.ngr-selected {
    background-color: var(--ngr-p-sel-bg, #000) !important;
    color: var(--ngr-p-sel-color, #fff) !important;
    border-color: var(--ngr-p-sel-border, #000) !important;
    border-radius: var(--ngr-p-sel-br, var(--ngr-p-br, 6px)) !important;
    font-weight: var(--ngr-p-sel-fw, 600) !important;
}

/* Sixt-style trigger */
.ngr-time-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: left;
    color: #999;
    box-sizing: border-box;
}

.ngr-time-trigger.ngr-has-value {
    color: #222;
}

.ngr-time-trigger:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.ngr-time-trigger-icon {
    flex-shrink: 0;
    margin-left: 8px;
    color: #888;
    transition: transform 0.2s;
}

.ngr-time-active .ngr-time-trigger-icon {
    transform: rotate(180deg);
}

/* Sixt-style dropdown panel */
.ngr-time-dropdown {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 6px);
    left: 0;
    min-width: 320px;
    max-width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    z-index: 999999;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

.ngr-time-dropdown.ngr-open {
    display: block !important;
}

/* Modal title */
.ngr-time-dropdown-title {
    margin: 0;
    padding: 18px 20px 16px;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 1px solid #ebebeb;
}

/* Section header (Morning, Afternoon, Evening) */
/* Flat 2-column time grid */
.ngr-time-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px 16px 16px;
}

/* Sixt-style time option: light grey, selected = black */
.ngr-time-option {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #f7f7f7;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-align: center;
    color: #333;
}

.ngr-time-option:hover,
.ngr-time-option:focus {
    background: #efefef;
    border-color: #d0d0d0;
    outline: none;
}

.ngr-time-option.ngr-selected {
    background: #000;
    border-color: #000;
    color: #fff;
    font-weight: 600;
}

/* ==========================================================================
   7. Search Button
   ========================================================================== */

/* Full-width column so Elementor Layout > Alignment (flex cross-axis) can place the button */
.ngr-search-button-wrapper {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ngr-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
}

.ngr-search-button:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.ngr-search-button:active {
    transform: translateY(0);
}

.ngr-search-button .icon-left,
.ngr-search-button .icon-right {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.ngr-search-button .ngr-search-button-icon svg {
    display: block;
}

/* ==========================================================================
   8. Validation Errors
   ========================================================================== */

.ngr-validation-error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 16px;
    color: #b91c1c;
    font-size: 14px;
}

.ngr-validation-error strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.ngr-validation-error ul {
    margin: 0;
    padding-left: 20px;
}

.ngr-validation-error li {
    margin-bottom: 3px;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */

@media (max-width: 767px) {
    /* Prevent iOS zoom */
    .ngr-location-select,
    .ngr-date-input,
    .ngr-time-trigger {
        font-size: 16px;
    }

    /* On mobile the time dropdown can be taller */
    .ngr-time-dropdown {
        max-height: 360px;
        min-width: 100%;
    }
}

/* ==========================================================================
   10. Elementor Editor – allow interactions in builder for preview
   ========================================================================== */

/* Location select keeps pointer-events off to avoid navigating away */
.elementor-editor-active .ngr-location-select {
    pointer-events: none;
}

/* Editor-mode inline calendar panel (same approach as time picker dropdown: DOM inside widget, open on input click) */
.ngr-editor-cal-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 999999;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    padding: 12px;
    min-width: 280px;
    pointer-events: auto;
}

.ngr-editor-cal-panel.ngr-editor-cal-open {
    display: block;
}

.ngr-editor-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ngr-editor-cal-month {
    font-weight: 600;
    font-size: 14px;
}

.ngr-editor-cal-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0 6px;
    color: #555;
}

.ngr-editor-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.ngr-editor-cal-weekdays span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    padding: 4px 0;
}

.ngr-editor-cal-day,
.ngr-editor-cal-empty {
    background: none;
    border: none;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    padding: 5px 2px;
    cursor: pointer;
    color: #333;
    line-height: 1.4;
}

.ngr-editor-cal-day:hover {
    background: #eaf4fd;
}

.ngr-editor-cal-today {
    border: 1px solid #3498db;
    color: #3498db;
}

.ngr-editor-cal-selected {
    background: #3498db !important;
    color: #fff !important;
}

.ngr-editor-cal-empty {
    cursor: default;
}

/* ==========================================================================
   11. Price Breakdown Widget
   ========================================================================== */

.ng-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ng-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 0;
}

.ng-price-total.ng-collapsible {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.ng-price-total.ng-collapsible:hover {
    opacity: 0.8;
}

.ng-toggle-icon {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.25s ease;
}

.ng-price-breakdown-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px;
    border-left: 2px solid #e0e0e0;
}

.ng-price-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.ng-item-label {
    flex: 1;
}

.ng-item-value {
    font-weight: 500;
    color: #333;
}

/* ==========================================================================
   11b. NG Price for X Days Widget
   ========================================================================== */

/* Widget container: full width and stretch so alignment works regardless of parent flex (justify/align) */
.elementor-widget-nextgen-car-price-display .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    min-width: 0;
}

.ng-price-display {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    position: relative;
    width: 100%;
}

.ng-price-display.ngr-price-refreshing {
    opacity: 0.55;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.ng-price-display--total-first {
    flex-direction: column;
    align-items: stretch;
}

/* Two lines: label + icon on first, amount on second */
.ng-price-line-1,
.ng-price-line-2 {
    width: 100%;
}

/* Line 1: flex row so icon and label stay on one line (icon left or right of "Price for X days:") */
.ng-price-display--total-first .ng-price-line-1 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

/* Keep label inline on same line as icon; !important overrides Elementor Label section styles that can force block */
.ng-price-display--total-first .ng-price-line-1 .ng-price-label {
    display: inline !important;
    width: auto !important;
    min-width: 0;
}

.ng-price-display--total-first .ng-price-line-1 .ng-price-info-icon {
    flex-shrink: 0;
}

.ng-price-display--total-first .ng-price-line-2 .ng-price-amount {
    display: block;
    width: 100%;
}

.ng-price-display--per-day-first {
    flex-direction: column;
    align-items: flex-start;
}

/* Full width so alignment works for per-day and total line */
.ng-price-display--per-day-first .ng-price-per-day,
.ng-price-display--per-day-first .ng-price-total-line {
    width: 100%;
}

.ng-price-label,
.ng-price-amount {
    display: inline-block;
}

.ng-price-per-day .ng-price-per-day-suffix {
    margin-left: 0.15em;
}

/* Block so text-align from Elementor alignment control works (like per-day line) */
.ng-price-total-line {
    display: block;
    width: 100%;
    position: relative;
    cursor: default;
}

.ng-price-total-line .ng-price-total-label,
.ng-price-total-line .ng-price-total-amount,
.ng-price-total-line .ng-price-info-icon {
    display: inline;
    vertical-align: baseline;
}

.ng-price-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    padding: 2px 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    color: #555;
    font-size: 0.9em;
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.ng-price-total-line:hover .ng-price-info-icon,
.ng-price-icon-above:hover .ng-price-info-icon {
    background: rgba(0, 0, 0, 0.12);
    color: #333;
}

.ng-price-icon-above {
    position: relative;
    display: inline-block;
}

/* Tooltip: hidden by default, shown on hover. Distance/width/colours set in Elementor. */
.ng-price-breakdown-tooltip {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    min-width: 180px;
    max-width: 320px;
    white-space: normal;
    z-index: 9999;
    pointer-events: none;
    line-height: 1.6;
}

.ng-price-total-line:hover .ng-price-breakdown-tooltip,
.ng-price-display--total-first:hover .ng-price-breakdown-tooltip,
.ng-price-line-1:hover .ng-price-breakdown-tooltip,
.ng-price-icon-above:hover .ng-price-breakdown-tooltip {
    display: block;
}

/* Arrow: border-top-color is set in Elementor to match tooltip background */
.ng-price-breakdown-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 16px;
    border: 6px solid transparent;
    border-top-color: #1e1e1e;
}

/* ==========================================================================
   12. Date Range Highlighting (Flatpickr)
   ========================================================================== */

.flatpickr-day.ngr-in-range {
    background: #fff3e0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: -2px 0 0 #fff3e0, 2px 0 0 #fff3e0;
}

.flatpickr-day.ngr-range-start {
    background: #ff6600 !important;
    color: #fff !important;
    border-color: #ff6600 !important;
    border-radius: 50% 0 0 50% !important;
    box-shadow: 2px 0 0 #fff3e0;
}

.flatpickr-day.ngr-range-end {
    background: #ff6600 !important;
    color: #fff !important;
    border-color: #ff6600 !important;
    border-radius: 0 50% 50% 0 !important;
    box-shadow: -2px 0 0 #fff3e0;
}

.flatpickr-day.ngr-range-start.ngr-range-end {
    border-radius: 50% !important;
    box-shadow: none;
}

/* Hover preview range (before dropoff is clicked) */
.flatpickr-day.ngr-hover-range {
    background: #fff3e0 !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    opacity: 0.7;
}

.flatpickr-day.ngr-hover-end {
    background: #ff6600 !important;
    color: #fff !important;
    border-color: #ff6600 !important;
    border-radius: 0 50% 50% 0 !important;
    opacity: 0.7;
}

/* Mobile calendar range colors: set in Elementor (Style → Date range highlight).
   Do not add unscoped .ngr-mobile-cal-day.ngr-range-* rules here — they override Elementor when the
   overlay is mounted under the post root and only plugin fallbacks apply. */

/* ==========================================================================
   13. Validation – Red Borders & Tooltip (No Layout Shift)
   ========================================================================== */

.ngr-field-error {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.2) !important;
    animation: ngr-shake 0.4s ease;
}

/* When the error class is on the date wrapper, highlight the visible altInput */
.ngr-date-picker-wrapper.ngr-field-error .ngr-date-input,
.ngr-date-picker-wrapper.ngr-field-error .flatpickr-input:not([type="hidden"]) {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.2) !important;
}
.ngr-date-picker-wrapper.ngr-field-error {
    animation: ngr-shake 0.4s ease;
}

@keyframes ngr-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.ngr-validation-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: #333;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: ngr-tooltip-in 0.2s ease;
}

.ngr-validation-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: #333;
}

.ngr-tooltip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #e53935;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ngr-tooltip-text {
    flex: 1;
}

.ngr-tooltip-fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes ngr-tooltip-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .ngr-validation-tooltip {
        white-space: normal;
        right: -10px;
        left: -10px;
        min-width: auto;
    }
}

/* ==========================================================================
   14. Rent Now Button
   ========================================================================== */

.elementor-widget-nextgen-rent-now .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    min-width: 0;
}

.ng-rent-now-wrapper {
    width: 100%;
    display: block;
}

.ng-rent-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}

.ng-rent-now-btn:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.ng-rent-now-btn:active {
    transform: translateY(0);
}

.ng-rent-now-btn:disabled,
.ng-rent-now-btn.ng-rent-now-btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.ng-rent-now-btn.ng-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ng-rent-now-price {
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================================================
   15. Protection Packages
   ========================================================================== */

.ng-protection-grid {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ng-protection-package {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s, outline-color 0.2s, outline-width 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

/* Full card: upper block (title + features) + price are the two flex children. */
.ng-protection-layout-columns .ng-protection-package:not(.ng-protection-compact) > .ng-protection-upper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
}

/* Rows grid: horizontal flex inside the upper block; price sits beside it. */
.ng-protection-layout-rows .ng-protection-package:not(.ng-protection-compact) {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
}

.ng-protection-layout-rows .ng-protection-package:not(.ng-protection-compact) > .ng-protection-upper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1 1 280px;
    min-width: 0;
    align-content: flex-start;
}

.ng-protection-layout-rows .ng-protection-package:not(.ng-protection-compact) > .ng-protection-upper .ng-protection-header {
    flex: 1 1 200px;
    min-width: 0;
}

.ng-protection-layout-rows .ng-protection-package:not(.ng-protection-compact) > .ng-protection-upper .ng-protection-main {
    flex: 1 1 220px;
    min-width: 0;
    margin-top: 0;
}

.ng-protection-layout-rows .ng-protection-package:not(.ng-protection-compact) > .ng-protection-price {
    flex: 0 0 auto;
    width: auto;
    min-width: 140px;
    margin-top: 0;
    margin-left: auto;
    align-self: flex-end;
}

/* Compact cards stay a single column even in “rows” grid layout. */
.ng-protection-layout-rows .ng-protection-package.ng-protection-compact {
    flex-direction: column;
    flex-wrap: nowrap;
}

.ng-protection-package:hover {
    border-color: #bbb;
}

/* Selected: border color only (no second “ring”). Optional outline from Elementor when width > 0. */
.ng-protection-package.ng-selected {
    border-color: #ff6600;
    box-shadow: none;
}

.ng-protection-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.ng-protection-header-main {
    flex: 1 1 auto;
    min-width: 0;
}

.ng-protection-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.ng-protection-radio {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.ng-selected .ng-protection-radio {
    border-color: #ff6600;
}

.ng-selected .ng-protection-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #ff6600;
    border-radius: 50%;
}

.ng-protection-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    flex: 0 1 auto;
    min-height: 0;
    box-sizing: border-box;
}

.ng-protection-deductible {
    font-size: 13px;
    color: #e53935;
    font-weight: 600;
    margin-bottom: 12px;
}

.ng-protection-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ng-protection-features li {
    padding: 6px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ng-feature-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

.ng-feature-included .ng-feature-mark {
    color: #333;
}

.ng-feature-excluded .ng-feature-mark {
    color: #ccc;
}

.ng-feature-excluded {
    color: #999;
}

.ng-feature-label {
    flex: 1 1 auto;
    min-width: 0;
}

/* Compact card: title row + expandable details */
.ng-protection-compact-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.ng-protection-compact-bar .ng-protection-name {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.ng-protection-compact-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ng-protection-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    line-height: 1;
    border-radius: 4px;
}

.ng-protection-expand-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.ng-protection-expand-btn:focus-visible {
    outline: 2px solid #ff6600;
    outline-offset: 2px;
}

.ng-protection-expand-icon {
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-bottom: 0.15em;
}

.ng-protection-expanded .ng-protection-expand-icon {
    transform: rotate(225deg);
    margin-bottom: 0;
    margin-top: 0.12em;
}

.ng-protection-compact:not(.ng-protection-expanded) .ng-protection-details,
.ng-protection-package:not(.ng-protection-expanded) .ng-protection-vp.ng-protection-compact .ng-protection-details {
    display: none !important;
}

.ng-protection-details {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

.ng-protection-price {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.ng-protection-price-suffix {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.ng-protection-badge,
.ng-online-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/*
 * Footer row (Protection + Addons): CSS grid — gap subtracted first; column widths are weights
 * (--ng-ftr-b / (--ng-ftr-b + --ng-ftr-c)) so totals never overflow the widget.
 */
.ng-protection-footer-row,
.ng-addons-footer-row {
    --ng-ftr-gap: 12px;
    --ng-ftr-b: 30;
    --ng-ftr-c: 70;
    display: grid;
    grid-template-columns:
        minmax(0, calc((100% - var(--ng-ftr-gap)) * var(--ng-ftr-b) / max(1, calc(var(--ng-ftr-b) + var(--ng-ftr-c)))))
        minmax(0, calc((100% - var(--ng-ftr-gap)) * var(--ng-ftr-c) / max(1, calc(var(--ng-ftr-b) + var(--ng-ftr-c)))));
    gap: var(--ng-ftr-gap);
    align-items: stretch;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ng-protection-footer-row > :only-child,
.ng-addons-footer-row > :only-child {
    grid-column: 1 / -1;
}

.ng-protection-footer-row .ng-step-back-wrap,
.ng-addons-footer-row .ng-step-back-wrap {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.ng-protection-footer-row .ng-step-back,
.ng-addons-footer-row .ng-step-back {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.ng-protection-footer-row .ng-protection-continue-slot,
.ng-addons-footer-row .ng-addons-continue-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0;
}

.ng-protection-footer-row .ng-step-continue,
.ng-addons-footer-row .ng-step-continue {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
}

/* Continue button — Position (standalone / top continue row; not footer grid slots) */
.ng-step-continue-pos-left .ng-addons-continue-wrap:not(.ng-protection-continue-slot):not(.ng-addons-continue-slot) {
    margin-right: auto;
    margin-left: 0;
    width: fit-content;
    max-width: 100%;
}

.ng-step-continue-pos-center .ng-addons-continue-wrap:not(.ng-protection-continue-slot):not(.ng-addons-continue-slot) {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 100%;
}

.ng-step-continue-pos-right .ng-addons-continue-wrap:not(.ng-protection-continue-slot):not(.ng-addons-continue-slot) {
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
    max-width: 100%;
}

.ng-step-continue-pos-stretch .ng-addons-continue-wrap:not(.ng-protection-continue-slot):not(.ng-addons-continue-slot) {
    width: 100%;
    max-width: 100%;
}

/* Back — Position (standalone top row) */
.ng-step-back-pos-left .ng-step-back-wrap {
    text-align: left;
}

.ng-step-back-pos-center .ng-step-back-wrap {
    text-align: center;
}

.ng-step-back-pos-right .ng-step-back-wrap {
    text-align: right;
}

.ng-step-back-pos-stretch .ng-step-back-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
}

.ng-step-back-pos-stretch .ng-step-back {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   15b. Protection Warning Modal (colors/sizes from Elementor; CSS = structure)
   ========================================================================== */

.ng-warning-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--ngr-layer-protection-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ngFadeIn 0.2s ease;
}

@keyframes ngFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ng-warning-modal {
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: ngSlideUp 0.25s ease;
}

@keyframes ngSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.ng-warning-icon {
    line-height: 1;
    margin-bottom: 12px;
}

.ng-warning-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.4;
}

.ng-warning-message {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: left;
}

.ng-warning-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ng-warning-cancel,
.ng-warning-confirm {
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
}

.ng-warning-cancel:hover {
    filter: brightness(0.92);
}

.ng-warning-confirm:hover {
    filter: brightness(0.88);
}

.ng-warning-cancel:active,
.ng-warning-confirm:active {
    transform: scale(0.97);
}

/* ==========================================================================
   16. Addons Selector
   ========================================================================== */

.ng-addons-list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.ng-addon-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
    min-width: 0;
    box-sizing: border-box;
}

.ng-addon-item:hover {
    border-color: #bbb;
}

.ng-addon-item.ng-addon-selected {
    border-color: #ff6600;
    background: #fff8f0;
}

.ng-addon-info {
    flex: 1;
    min-width: 0;
}

.ng-addon-icon {
    font-size: 20px;
}

.ng-addon-name {
    font-weight: 600;
    font-size: 15px;
    color: #222;
}

.ng-addon-price {
    font-size: 14px;
    color: #555;
    margin-top: 3px;
    font-weight: 600;
}

.ng-addon-desc {
    font-size: 13px;
    color: #888;
    margin-top: 3px;
    line-height: 1.4;
}

/* --- Addon Image --- */
.ng-addon-img-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-addon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ng-addon-img-icon {
    font-size: 32px;
}

/* --- Addon Qty Controls --- */
.ng-addon-controls {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 100px;
}

.ng-addon-total {
    font-weight: 700;
    font-size: 15px;
    color: #333;
    min-height: 20px;
}

.ng-addon-qty-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 18px;
    border: 2px solid #ff6600;
    border-radius: 8px;
    background: #fff;
    color: #ff6600;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.ng-addon-qty-add:hover {
    background: #fff3e0;
}

.ng-addon-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ng-addon-qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #ff6600;
    border-radius: 6px;
    background: #fff;
    color: #ff6600;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ng-addon-qty-btn:hover:not(:disabled) {
    background: #fff3e0;
}

.ng-addon-qty-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.ng-addon-qty-val {
    min-width: 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    padding: 0 8px;
    line-height: 1.2;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* --- Toggle (NO / YES) — max_qty = 1; size via --ng-toggle-w / --ng-toggle-h; knob scales --- */
.ng-addon-toggle {
    --ng-toggle-w: 82px;
    --ng-toggle-h: 40px;
    --ng-toggle-pad: 4px;
    position: relative;
    width: var(--ng-toggle-w);
    height: var(--ng-toggle-h);
    overflow: hidden;
    border-radius: 100px;
    border: none;
    padding: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.ng-addon-checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.ng-addon-knob,
.ng-addon-toggle-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.ng-addon-knob {
    z-index: 2;
}

.ng-addon-toggle-bg {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 100px;
    transition: 0.3s ease all;
    z-index: 1;
}

.ng-addon-knob::before {
    content: "NO";
    position: absolute;
    --ng-knob: min(
        calc(var(--ng-toggle-h) - 2 * var(--ng-toggle-pad)),
        calc(var(--ng-toggle-w) * 0.5 - 2 * var(--ng-toggle-pad))
    );
    width: var(--ng-knob);
    height: var(--ng-knob);
    top: calc((var(--ng-toggle-h) - var(--ng-knob)) / 2);
    left: var(--ng-toggle-pad);
    color: #fff;
    font-size: clamp(7px, calc(var(--ng-knob) * 0.34), 12px);
    font-weight: 700;
    text-align: center;
    line-height: var(--ng-knob);
    padding: 0;
    background-color: #aaa;
    border-radius: 50%;
    transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
    box-sizing: border-box;
}

.ng-addon-checkbox:active + .ng-addon-knob::before {
    filter: brightness(0.92);
}

.ng-addon-checkbox:checked + .ng-addon-knob::before {
    content: "YES";
    left: calc(var(--ng-toggle-w) - var(--ng-knob) - var(--ng-toggle-pad));
    line-height: var(--ng-knob);
    background-color: #ff6600;
}

.ng-addon-checkbox:checked ~ .ng-addon-toggle-bg {
    background-color: #fff3e0;
}

/* ==========================================================================
   17. Floating Cart / Booking Overview
   ========================================================================== */

/* Stacking: one ordered scale — cart lightbox < protection confirm < (extend upward if needed). */
:root {
    --ngr-layer-cart-backdrop: 40000;
    --ngr-layer-cart-ui: 40001;
    --ngr-layer-protection-modal: 41000;
}

/* ── Booking Cart – total bar + expandable panel ───────────────────────────── */

.ng-booking-cart {
    position: relative;
    font-family: inherit;
}

/* Modal mode (closed): stay in the column and scroll with the page like a sidebar summary (Avis-style). */
.ng-booking-cart.ng-cart-display-modal:not(.ng-cart-modal-portaled) {
    position: sticky;
    top: 1rem;
    align-self: flex-start;
}

/* Inner wrapper: AJAX refreshes only this node so modal / display mode stays on the outer cart */
.ng-cart-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ── Display: always open ───────────────────────────────────────────────── */
.ng-booking-cart.ng-cart-display-always_open .ng-cart-bar {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    cursor: default;
    pointer-events: none;
}
.ng-booking-cart.ng-cart-display-always_open .ng-cart-bar-chevron {
    display: none;
}
.ng-booking-cart.ng-cart-display-always_open .ng-cart-panel {
    display: block;
}

/* ── Display: modal / lightbox ─────────────────────────────────────────── */
.ng-booking-cart.ng-cart-display-modal:not(.ng-cart-modal-open) .ng-cart-panel {
    display: none !important;
}
.ng-booking-cart.ng-cart-display-modal.ng-cart-modal-open {
    z-index: var(--ngr-layer-cart-ui);
}
.ng-booking-cart.ng-cart-display-modal.ng-cart-modal-open .ng-cart-panel {
    display: block !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    border: none;
    box-shadow: none;
    animation: ngCartModalIn 0.2s ease;
}
.ng-booking-cart.ng-cart-display-modal.ng-cart-modal-open .ng-cart-panel-stack {
    /* border-radius is controlled by the Elementor "Body border radius" control */
    border: 1px solid #e4e4e4;
    box-shadow: none;
    overflow: hidden;
}
@keyframes ngCartModalIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ng-cart-modal-backdrop-body {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--ngr-layer-cart-backdrop);
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}
.ng-cart-modal-backdrop-body.is-visible {
    display: block;
}
body.ng-cart-modal-active {
    overflow: hidden;
}

/* While the lightbox is open, the cart is portaled to body; layer sits above backdrop. */
.ng-booking-cart.ng-cart-modal-portaled {
    box-sizing: border-box;
    z-index: var(--ngr-layer-cart-ui);
}
/* ── Total bar (always visible) ─────────────────────────────────────────── */
.ng-booking-cart .ng-cart-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Themes often set button { width:auto }; force full width to match .ng-cart-panel-stack */
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    background: #333;
    color: #fff;
    border: none;
    /* border-radius is set by the Elementor "Border radius" control on the Total bar tab */
    padding: 14px 20px;
    cursor: pointer;
    text-align: left;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    /* No press/hover/focus animation — avoids theme button styles (grow, radius, accent) */
    transition: none !important;
    -webkit-tap-highlight-color: transparent;
}
/* Interactive states = same paint as idle (no hover darken, no theme :active/:focus) */
.ng-booking-cart .ng-cart-bar:hover,
.ng-booking-cart .ng-cart-bar:focus,
.ng-booking-cart .ng-cart-bar:focus-visible,
.ng-booking-cart .ng-cart-bar:active {
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    background-color: var(--ngr-cart-bar-bg, #333) !important;
    color: var(--ngr-cart-bar-fg, #fff) !important;
}
/* Expanded bar: only flatten bottom corners so top corners follow the Elementor setting */
.ng-booking-cart.ng-cart-expanded .ng-cart-bar {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.ng-booking-cart.ng-cart-expanded .ng-cart-bar:hover,
.ng-booking-cart.ng-cart-expanded .ng-cart-bar:focus,
.ng-booking-cart.ng-cart-expanded .ng-cart-bar:focus-visible,
.ng-booking-cart.ng-cart-expanded .ng-cart-bar:active {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.ng-cart-bar-label {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.ng-cart-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ng-cart-bar-amount {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.ng-cart-bar-chevron {
    flex-shrink: 0;
    transition: none;
    opacity: 0.85;
}
.ng-booking-cart.ng-cart-expanded .ng-cart-bar-chevron {
    transform: rotate(180deg);
}

/* ── Breakdown panel (outer) + stack (body + footer = one card) ─────────── */
.ng-cart-panel {
    display: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    animation: ngCartSlideIn 0.22s ease;
}
.ng-cart-panel-stack {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: none;
    overflow: hidden;
}
.ng-booking-cart.ng-cart-expanded .ng-cart-panel {
    display: block;
}
@keyframes ngCartSlideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Line items */
.ng-cart-body {
    padding: 0;
    overflow: hidden;
}
.ng-cart-section {
    padding: 12px 20px;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.ng-cart-section:last-child {
    border-bottom: none;
}
.ng-cart-label {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}
.ng-cart-sublabel {
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}
.ng-cart-amount {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
    color: #222;
}

/* Footer total */
.ng-cart-footer {
    padding: 14px 20px;
    background: #f9f9f9;
    border-top: 1px solid #e4e4e4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ng-cart-footer-label {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
.ng-cart-footer-total {
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

/* Legacy selector kept for any lingering references */
.ng-cart-details-link {
    font-size: 13px;
    color: #ff6600;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* Step continue wrapper */
.ng-addons-continue-wrap {
    margin-top: 16px;
}

/* Step continue button */
.ng-step-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    padding: 14px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.ng-step-continue:hover {
    background: #e55a00;
}

.ng-step-continue:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Back button wrapper */
.ng-step-back-wrap {
    margin-bottom: 12px;
}

/* Protection: Back + Continue side-by-side when "Bottom (next to Continue)" */
.ng-protection-buttons-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.ng-protection-buttons-row .ng-step-back-wrap {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.ng-protection-buttons-row .ng-step-back {
    margin-bottom: 0;
}

.ng-protection-buttons-row .ng-protection-continue-wrap {
    display: flex;
    align-items: center;
}

.ng-step-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
}

.ng-step-back:hover {
    color: #ff6600;
}

/* ==========================================================================
   18. Booking Summary (car rental style card)
   ========================================================================== */

.ng-summary-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.ng-summary-card-heading {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

/* Car header (default: text left, image right) */
.ng-summary-car-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.ng-summary-car-header--img-start {
    flex-direction: row-reverse;
}

.ng-summary-car-info {
    flex: 1;
    min-width: 0;
}

.ng-summary-car-img {
    width: 80px;
    height: 56px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8f8f8;
    flex-shrink: 0;
}

.ng-summary-car-img--placeholder {
    box-sizing: border-box;
    border: 1px dashed #d0d0d0;
    background: #f4f4f4
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23bbb' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M7 17h10M9 21h6'/%3E%3C/svg%3E")
        no-repeat center;
}

.ng-summary-car-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.ng-summary-car-subtitle {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* Sections */
.ng-summary-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ng-summary-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ng-summary-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Pickup / return timeline — one vertical rail through both dot rows */
.ng-summary-timeline {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    position: relative;
    padding-left: 0;
    /* Shorten the rail so it meets dot centres (overridable in Style → trim sliders) */
    --ng-timeline-line-trim-top: 8px;
    --ng-timeline-line-trim-bottom: 26px;
}

.ng-summary-timeline-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
}

.ng-summary-timeline-label--pickup {
    grid-column: 2;
    grid-row: 1;
}

.ng-summary-timeline-label--return {
    grid-column: 2;
    grid-row: 3;
}

.ng-summary-timeline-dot {
    justify-self: center;
    align-self: start;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    margin-top: 2px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.ng-summary-timeline-dot--start {
    grid-column: 1;
    grid-row: 2;
}

.ng-summary-timeline-dot--end {
    grid-column: 1;
    grid-row: 4;
}

.ng-summary-timeline-content--pickup {
    grid-column: 2;
    grid-row: 2;
    position: relative;
}

.ng-summary-timeline-content--return {
    grid-column: 2;
    grid-row: 4;
    position: relative;
}

.ng-summary-timeline-rail-line {
    grid-column: 1;
    grid-row: 2 / 5;
    width: 2px;
    background: #ccc;
    justify-self: center;
    align-self: stretch;
    min-height: 12px;
    border-radius: 1px;
    z-index: 0;
    box-sizing: border-box;
    margin-top: var(--ng-timeline-line-trim-top, 8px);
    margin-bottom: var(--ng-timeline-line-trim-bottom, 26px);
}

.ng-summary-timeline-location {
    font-weight: 600;
    font-size: 14px;
}

.ng-summary-timeline-date {
    font-size: 13px;
    color: #666;
    margin-top: 1px;
}

/* Price accordions */
.ng-summary-price-section {
    /* inherits section styles */
}

.ng-summary-accordions {
    display: flex;
    flex-direction: column;
    --ng-acc-icon-gap: 12px;
    --ng-acc-duration: 400ms;
}

.ng-summary-acc {
    border-bottom: none;
}

.ng-summary-acc-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ng-acc-icon-gap, 12px);
    padding: 14px 0;
    margin: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    box-sizing: border-box;
}

.ng-summary-acc-toggle:focus {
    outline: none;
}

.ng-summary-acc-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.ng-summary-acc-main {
    flex: 1;
    min-width: 0;
    text-align: left;
}

/* Default DOM: icons → main → amount; treat as icon end (main, amount, then icons). */
.ng-summary-acc-toggle > .ng-summary-acc-icons {
    order: 3;
}

.ng-summary-acc-toggle > .ng-summary-acc-main {
    order: 1;
}

.ng-summary-acc-toggle > .ng-summary-acc-amount {
    order: 2;
}

.ng-acc-icon-start .ng-summary-acc-toggle > .ng-summary-acc-icons {
    order: 0;
}

.ng-acc-icon-start .ng-summary-acc-toggle > .ng-summary-acc-main {
    order: 1;
}

.ng-acc-icon-start .ng-summary-acc-toggle > .ng-summary-acc-amount {
    order: 2;
}

.ng-summary-acc-title-wrap {
    display: block;
    width: 100%;
}

.ng-summary-acc-title {
    display: block;
    font-weight: 700;
}

/* Intro line inside accordion panel (not in the toggle header) */
.ng-summary-acc-panel-sublabel {
    margin: 0 0 10px;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #888;
    font-weight: 400;
}

.ng-summary-acc-amount {
    font-weight: 700;
    flex-shrink: 0;
}

.ng-summary-acc-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.ng-summary-acc-icons svg {
    display: block;
    width: 1em;
    height: 1em;
}

.ng-summary-acc.is-open .ng-summary-acc-icon--expand {
    display: none;
}

.ng-summary-acc:not(.is-open) .ng-summary-acc-icon--collapse {
    display: none;
}

.ng-summary-acc-panel-outer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--ng-acc-duration, 0.4s) ease;
}

.ng-summary-acc.is-open .ng-summary-acc-panel-outer {
    grid-template-rows: 1fr;
}

.ng-summary-acc-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.ng-summary-acc-panel {
    padding: 0 0 14px;
    margin: 0;
    box-sizing: border-box;
}

/* Unified accordion body lines (vehicle, protection, add-ons) */
.ng-summary-acc-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    color: #555;
}

.ng-summary-price-line.ng-summary-acc-line {
    justify-content: space-between;
    align-items: center;
}

.ng-summary-acc-line--detail {
    align-items: flex-start;
}

.ng-summary-acc-line--split {
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.ng-summary-acc-line--split .ng-summary-acc-line-text {
    flex: 1;
    min-width: 0;
}

.ng-summary-acc-line-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 2px;
    font-size: var(--ng-acc-detail-icon, 16px);
    width: var(--ng-acc-detail-icon, 16px);
}

.ng-summary-acc-line-icon svg {
    display: block;
    width: var(--ng-acc-detail-icon, 16px);
    height: var(--ng-acc-detail-icon, 16px);
}

.ng-summary-acc-line-end {
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
}

.ng-summary-price-line--muted,
.ng-summary-acc-line--muted {
    color: #888;
    font-style: italic;
}

/* Grand total */
.ng-summary-final-total-wrap {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    box-sizing: border-box;
}

.ng-summary-final-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.ng-summary-total-label {
    font-size: 18px;
    font-weight: 700;
}

.ng-summary-final-total .ng-summary-total-amount {
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.ng-summary-rate-terms {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}

.ng-summary-rate-terms:hover {
    color: #333;
}

/* Legacy price header / badge */
.ng-summary-price-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ng-summary-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #ff6600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ng-summary-total-row {
    margin-bottom: 12px;
}

.ng-summary-price-breakdown-mini {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

/* Checklist */
.ng-summary-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ng-summary-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ng-summary-check-icon {
    color: #ff6600;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.ng-summary-check-text {
    font-size: 14px;
    color: #333;
}

/* ==========================================================================
   Price range filter – dual-handle slider
   ========================================================================== */

.ngr-price-range-wrap {
    width: 100%;
}

.ngr-price-range-slider {
    position: relative;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
}

.ngr-price-range-track {
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 3px;
    pointer-events: none;
    background: #1e3a5f;
}

.ngr-price-range-slider input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 24px;
    margin: 0;
    padding: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.ngr-price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1e3a5f;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.ngr-price-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: #1e3a5f;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.ngr-price-range-slider input[type="range"]::-webkit-slider-runnable-track,
.ngr-price-range-slider input[type="range"]::-moz-range-track {
    background: transparent;
}

.ngr-price-range-slider .ngr-price-slider-max {
    pointer-events: none;
}

.ngr-price-range-slider .ngr-price-slider-max::-webkit-slider-thumb {
    pointer-events: auto;
}

.ngr-price-range-slider .ngr-price-slider-max::-moz-range-thumb {
    pointer-events: auto;
}

.ngr-price-range-display {
    font-size: 14px;
    color: #333;
    margin-top: 8px;
}

