/* Homepage widget */

.pf__homepage__widget {
    margin-bottom: 30px;
}

.pf__homepage__widget__section {
    margin-bottom: 15px;
}

    .pf__homepage__widget__airport__wrapper {
        position: relative;
        display: inline-block;
        width: 100%;
    } 

    .pf__homepage__widget__airport__wrapper select[name="airport"] {
        width: 100%;
        padding-left: 42px;
    }

    .pf__homepage__widget__airport__wrapper:after {
        content: "";
        display: block;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2342D45F' width='32' height='25.042'%3E%3Cg data-name='Vliegtuig opstijgend'%3E%3Cpath d='M.887 25.042a.89.89 0 0 1 0-1.78h30.227a.89.89 0 0 1 0 1.78Zm13.291-8.973a1.032 1.032 0 0 1-.359-1.03l.7-3.408-.482.15-7.244 2.342a1.917 1.917 0 0 1-1.455-.057 1.89 1.89 0 0 1-.973-1.081L1.828 5.108a.965.965 0 0 1 .635-1.183l3-.958a1 1 0 0 1 1.115.367l2.057 3.258L19.928.971a7.081 7.081 0 0 1 10.211 3.61 1.921 1.921 0 0 1-1.268 2.407l-7.416 2.407-.744.244-1.4 4.786a1.009 1.009 0 0 1-.684.706L15.26 16.22a1.051 1.051 0 0 1-.42.087 1.025 1.025 0 0 1-.662-.237Z' data-name='Union 6'/%3E%3C/g%3E%3C/svg%3E");
        position: absolute;
        top: 60%;
        left: 10px;
        transform: translateY(-60%);
        height: 24px;
        width: 24px;
        pointer-events: none;
        background-size: contain;
        background-repeat: no-repeat;
    }

.pf__homepage__widget__section--dates {
    display: flex;
    justify-content: space-between;
}

.pf__homepage__widget__column__half {
    display: inline-block;
    width: 49%;
    position: relative;
}

.pf__homepage__widget__datetime {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 6px;
}

.pf__homepage__widget__datetime__control {
    /* explicit border-box: as a div wrapper this no longer inherits the
       theme's button reset, and content-box inflates it past its grid track */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 50px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #f4f5f7 !important;
    color: #122033 !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding: 0 10px;
    text-align: left;
    box-shadow: none !important;
}

.pf__homepage__widget__datetime__control:hover,
.pf__homepage__widget__datetime__control:focus,
.pf__homepage__widget__datetime__control--active {
    border-color: var(--color-primary);
    background: #ffffff !important;
    outline: none;
}

.pf__homepage__widget__datetime__control--time {
    justify-content: flex-start;
    text-align: left;
    cursor: text;
}

.pf__homepage__widget__datetime__control--time:focus-within {
    border-color: var(--color-primary);
    background: #ffffff !important;
}

.pf__homepage__widget__datetime__control--time .pf__homepage__widget__datetime__timeinput {
    /* flex-basis 0: the input must absorb the leftover space next to the icon,
       never inflate the control past its fixed grid track (date pill overlap) */
    flex: 1 1 0%;
    width: auto;
    min-width: 0;
    min-height: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: #122033 !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-align: left;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.pf__homepage__widget__datetime__control--time .pf__homepage__widget__datetime__timeinput::placeholder {
    color: #122033;
    opacity: 1;
}

.pf__homepage__widget__datetime__icon {
    flex: 0 0 auto;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pf__homepage__widget__datetime__icon--date {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2342D45F' width='32' height='32'%3E%3Cpath d='M4.8 32a3.08 3.08 0 0 1-2.259-.939A3.088 3.088 0 0 1 1.6 28.8V6.4a3.077 3.077 0 0 1 .941-2.259A3.089 3.089 0 0 1 4.8 3.2h1.6V0h3.2v3.2h12.8V0h3.2v3.2h1.6a3.209 3.209 0 0 1 3.2 3.2v22.4a3.207 3.207 0 0 1-3.2 3.2Zm0-3.2h22.4v-16H4.8Z' data-name='Path 35'/%3E%3Cpath fill='none' d='M0 0h32v32H0z' data-name='Rectangle 195'/%3E%3C/svg%3E");
}

.pf__homepage__widget__datetime__icon--time {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2342D45F' width='32' height='32'%3E%3Cpath d='M16 30.4A14.4 14.4 0 1 1 30.4 16 14.416 14.416 0 0 1 16 30.4Zm0-3.2A11.2 11.2 0 1 0 4.8 16 11.213 11.213 0 0 0 16 27.2Zm5.12-5.28-6.72-4V8h3.2v8.08l5.12 3.04Z'/%3E%3C/svg%3E");
}

.pf__homepage__widget__datetime__value {
    /* allow shrinking with ellipsis so a tight date pill truncates gracefully
       instead of bleeding underneath the adjacent time field */
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pf__homepage__widget__location__details {
    margin-bottom: 10px;
}

.pf__homepage__widget__location__details__price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
    .pf__homepage__widget__location__details__price h3,
    .pf__homepage__widget__location__details__price h4 {
        margin-bottom: 0;
    }
    
    .pf__homepage__widget__location__details__price h3 small {
        font-size: 50%;
    }

.pf__homepage__widget__location__details__availability {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

    .pf__homepage__widget__location__details__availability .pf__productselection__location__top__pill {
        margin-right: 0;
        font-size: 14px;
    }

.pf__homepage__widget__location__details__other_locations {
    background-color: #faf1ba;
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
}

    .pf__homepage__widget__location__details__other_locations h5 {
        font-size: 16px;
    }
    
    .pf__homepage__widget__location__details__other_locations a {
        color: var(--color-secondary) !important;
        letter-spacing: 1px;
    }

    .pf__homepage__widget .button:disabled,
    .pf__homepage__widget .button[disabled],
    .pf__homepage__widget .button:disabled:hover,
    .pf__homepage__widget .button[disabled]:hover {
        background-color: var(--color-gray);
        color: var(--color-gray-hover);
        cursor: not-allowed;
    }

.pf__homepage__widget .button {
    margin-top: 15px;
    background: var(--color-secondary);
    width: 100%;
}

    .pf__homepage__widget .button:hover {
        background: var(--color-secondary-hover);
    }

.date__overlay {
    /* border-box: whenever a viewport-bound width is set (tablet/sheet), the
       20px paddings must not push the panel past the screen edge */
    box-sizing: border-box;
    position: absolute;
    top: 80px;
    padding: 18px 20px 20px 20px;
    border-radius: 15px;
    background-color: #f2f2f2;
    box-shadow: 0px 0px 5px #00000026, 0px -2px 2px var(--color-primary);
    z-index: 2147483551;
    display: none;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);

    min-height: 240px;
    max-width: none;
    width: auto;

    z-index: 90;
}

.date__overlay--time-mode {
    padding: 16px 10px 10px 10px;
}

.date__overlay--visible {
    display: block;
}

.date__overlay:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid var(--color-primary);
    position: absolute;
    top: -17px;
    left: calc(var(--pf-overlay-arrow-left, 50%) - 15px);
}

.date__overlay:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #f2f2f2;
    position: absolute;
    top: -15px;
    left: calc(var(--pf-overlay-arrow-left, 50%) - 15px);
}

.date__overlay__tabs {
    display: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
}

.date__overlay__tabs__tab {
    padding: 7px 20px;
    cursor: pointer;
    opacity: 0.6;
}

.date__overlay__tabs__tab--active {
    font-weight: bold;
    text-decoration: underline;
    opacity: 1;
}

.date__overlay__content {
    display: none;
}

.date__overlay__content--visible {
    display: block;
    min-width: 169px;
}

.date__overlay__confirm__start,
.date__overlay__confirm__end {
    margin: 10px auto 0 auto;
    width: 164px;
    max-width: 100%;
    justify-content: center;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
}

.date__overlay__content .flatpickr-day.inRange {
    background: #8fc2ea !important;
    border-color: #8fc2ea !important;
}

.date__overlay__content .flatpickr-day.inRange {
    -webkit-box-shadow: -5px 0 0 #8fc2ea, 5px 0 0 #8fc2ea !important;
    box-shadow: -5px 0 0 #8fc2ea, 5px 0 0 #8fc2ea !important;
}

.date__overlay__content .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
    -webkit-box-shadow: -2px 0 0 #8fc2ea, 5px 0 0 #8fc2ea !important;
    box-shadow: -2px 0 0 #8fc2ea, 5px 0 0 #8fc2ea !important;
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
    -webkit-box-shadow: 5px 0 0 #8fc2ea !important;
    box-shadow: 5px 0 0 #8fc2ea !important;
}

.flatpickr-day {
    height: 36px !important;
    line-height: 36px !important;
}

.flatpickr-time input.flatpickr-hour {
    font-weight: normal;
}

.date__overlay__content .flatpickr-calendar.hasTime {
    width: 100%;
    height: 130px;
    background: transparent !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
}

.date__overlay__content .flatpickr-calendar.hasTime .flatpickr-time {
    max-height: 125px;
}

.date__overlay__content .flatpickr-calendar.hasTime .flatpickr-time .numInputWrapper,
.date__overlay__content .flatpickr-calendar.hasTime input {
    height: 120px;
    background-color: white;
    border-radius: 15px;
    font-size: 40px;
    overflow: hidden;
    width: 100%;
}

.flatpickr-current-month input.cur-year {
    width: 100%;
}

.date__overlay__content .flatpickr-calendar.hasTime .numInputWrapper span {
    width: 100%;
    opacity: 1;
    border: none;
}

.date__overlay__content .flatpickr-calendar.hasTime .numInputWrapper span:after {
    right: 40%;
    top: 45% !important;
}

.date__overlay__timepicker__panel {
    width: 164px;
    max-width: calc(100vw - 48px);
    background: #ffffff;
    border: 1px solid #d8dee6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(16, 37, 61, 0.12);
}

.date__overlay__timepicker__list {
    max-height: 184px;
    overflow-y: auto;
    scroll-behavior: auto;
}

.date__overlay__timepicker__option,
.date__overlay__timepicker__nav {
    width: 100%;
    border: 0;
    background: #ffffff !important;
    color: #122033 !important;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
}

.date__overlay__timepicker__option {
    min-height: 46px;
    font-size: 18px;
    line-height: 1;
}

.date__overlay__timepicker__option:hover,
.date__overlay__timepicker__option:focus {
    background: #f1f7fd !important;
    outline: none;
}

.date__overlay__timepicker__option--selected,
.date__overlay__timepicker__option--selected:hover,
.date__overlay__timepicker__option--selected:focus {
    background: #eaf4ff !important;
    color: var(--color-secondary) !important;
    font-weight: 700;
}

.date__overlay__timepicker__nav {
    height: 40px;
    color: var(--color-secondary) !important;
    font-size: 18px;
    line-height: 1;
}

.date__overlay__timepicker__nav:hover,
.date__overlay__timepicker__nav:focus {
    background: #f7fbff !important;
    outline: none;
}

.date__overlay__content .flatpickr-calendar:before,
.date__overlay__content .flatpickr-calendar:after {
    display: none !important;
}

.date__overlay__content .flatpickr-current-month .flatpickr-monthDropdown-months {
    display: inline-block !important;
}

.flatpickr-calendar.inline {
    margin: 0 auto;
}

.flight-suggestion {
    width: 30%;
    display: inline-block;
    margin-right: 5px;
}

.pill {
    background-color: white;
    border: 2px solid #E8E8E8;
    border-radius: 15px;
    height: 35px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
    cursor: pointer;
    max-width: 150px;
    -webkit-transition: border 250ms ease-in-out;
    transition: border 400ms ease-in-out;
}

.pill:hover {
    border-color: var(--color-secondary);
}

.pill__time {
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    margin-right: 5px;
}

.pill__flight {
    font-size: 12px;
    display: inline-block;
}

.pill--active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: white !important;
}

.pf__homepage__widget--inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

    .pf__homepage__widget--inline .pf__homepage__widget__section--dates {
        flex: 5;
    }

    .pf__homepage__widget--inline .button {
        flex: 2;
        width: auto;
        padding: 10px 20px;
    }

    .pf__homepage__widget--inline .button:hover {
        padding: 10px 20px !important;
    }


/*
------ AUTOCOMPLETE ------ 
*/
.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

/*
------ SPINNER ------ 
*/
.spinner {
    display: none;
    font-size: 10px;
    text-indent: -9999em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1FCC6C;
    background: -moz-linear-gradient(left, #1FCC6C 10%, rgba(0, 224, 127, 0) 42%);
    background: -webkit-linear-gradient(left, #1FCC6C 10%, rgba(0, 224, 127, 0) 42%);
    background: -o-linear-gradient(left, #1FCC6C 10%, rgba(0, 224, 127, 0) 42%);
    background: -ms-linear-gradient(left, #1FCC6C 10%, rgba(0, 224, 127, 0) 42%);
    background: linear-gradient(to right, #1FCC6C 10%, rgba(0, 224, 127, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.spinner--visible {
    display: inline-block;
}

.spinner:before {
    width: 50%;
    height: 50%;
    background: #1FCC6C;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.spinner:after {
    background: white;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*
------ SELECT LOCATION ------ 
*/
.pf__productselection__summary {
    padding: 24px;
    max-width: 100%;
    margin: 0 auto 30px auto;
    border: var(--box-border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    margin-top: -184px;
    z-index: 10;
    position: relative;
}

    .pf__booking__form .pf__productselection__summary {
        margin-top: 0;
    }

    .pf__productselection__summary > .wp-block-columns {
        justify-content: center;
    }

    .pf__productselection__summary .pf__homepage__widget--inline {
        width: 100%;
    }

    .pf__productselection__summary .pf__homepage__widget__section {
        margin-bottom: 0;
        margin-right: 2%;
    }

    .pf__productselection__summary .pf__homepage__widget__section--dates {
        margin-bottom: 0;
        flex: 6;
    }

    .pf__productselection__summary input[name="startdate"],
    .pf__productselection__summary input[name="enddate"],
    .pf__productselection__summary select {
        border: 1px solid #333 !important;
    }

.pf__booking-progress {
    padding: 24px;
    max-width: 100%;
    margin: -80px auto 30px auto;
    background: #ffffff;
    border: var(--box-border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    z-index: 10;
    position: relative;
}

.pf__booking-progress--step-2,
.pf__booking-progress--step-3 {
    margin-top: 30px;
}

.pf__booking-progress__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    margin-bottom: 22px;
}

.pf__booking-progress__steps:before {
    content: "";
    position: absolute;
    top: 17px;
    left: 16.666%;
    right: 16.666%;
    height: 2px;
    background: #dfe8ef;
    z-index: 0;
}

.pf__booking-progress__step {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
    color: #8b98a5;
}

.pf__booking-progress__step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: transparent;
    z-index: -1;
}

.pf__booking-progress__step--complete:not(:last-child):after {
    background: var(--color-primary);
}

.pf__booking-progress__step--active:not(:last-child):after {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary) 45%, #dfe8ef 45%, #dfe8ef 100%);
}

.pf__booking-progress__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #edf3f7;
    border: 2px solid #dfe8ef;
    color: #63717e;
    font-weight: 700;
    line-height: 1;
}

.pf__booking-progress__step--complete .pf__booking-progress__step-number {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.pf__booking-progress__step--active .pf__booking-progress__step-number {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 0 0 5px rgba(65, 166, 255, 0.16);
}

.pf__booking-progress__step-label {
    display: block;
    margin-top: 8px;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.pf__booking-progress__step--complete .pf__booking-progress__step-label,
.pf__booking-progress__step--active .pf__booking-progress__step-label {
    color: var(--color-dark);
}

.pf__booking-progress__meta {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border-radius: calc(var(--border-radius) - 4px);
    background: var(--color-alt);
}

.pf__booking-progress__meta-item {
    min-width: 0;
}

.pf__booking-progress__meta-label {
    display: block;
    margin-bottom: 4px;
    color: #667482;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.pf__booking-progress__meta-value {
    display: block;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.pf__booking-progress__meta-item--total .pf__booking-progress__meta-value {
    color: var(--color-secondary);
    font-size: 18px;
}

.pf__booking-progress__edit-button {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px 0 42px;
    border: 0;
    border-radius: 999px;
    background-color: var(--color-secondary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4M3 10h18M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
    background-position: 16px 50%;
    background-repeat: no-repeat;
    background-size: 18px;
    color: var(--color-white);
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pf__booking-progress__edit-button:hover,
.pf__booking-progress__edit-button.is-open {
    background-color: var(--color-secondary-hover);
}

.pf__booking-progress__edit {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dfe8ef;
}

.pf__booking-progress__edit[hidden] {
    display: none;
}

.pf__booking-progress__edit .pf__homepage__widget {
    margin-bottom: 0;
}

.pf__booking-progress__edit .pf__homepage__widget--inline {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.pf__booking-progress__edit .pf__homepage__widget--inline .pf__homepage__widget__section {
    flex: 1 1 0;
    margin: 0;
}

.pf__booking-progress__edit .pf__homepage__widget--inline .pf__homepage__widget__section--dates {
    flex: 2 1 0;
}

.pf__booking-progress__edit .pf__homepage__widget__datetime {
    /* 90px: the typable time input needs room for "00:00" plus icon at 14px */
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 4px;
}

.pf__booking-progress__edit .pf__homepage__widget__datetime__control {
    min-height: 44px;
    height: 44px;
    border-radius: 24px;
    padding: 0 12px;
}

.pf__booking-progress__edit .pf__homepage__widget__datetime__icon {
    width: 18px;
    height: 18px;
}

.pf__booking-progress__edit .pf__homepage__widget--inline .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 24px;
    white-space: nowrap;
}

@media screen and (max-width: 991px) {
    .pf__booking-progress__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pf__booking-progress__edit-button {
        width: 100%;
    }

    .pf__booking-progress__edit .pf__homepage__widget--inline {
        flex-direction: column;
        align-items: stretch;
    }
}

@media screen and (max-width: 767px) {
    .pf__booking-progress {
        padding: 18px;
        margin-top: -64px;
    }

    .pf__booking-progress--step-2,
    .pf__booking-progress--step-3 {
        margin-top: 18px;
    }

    .pf__booking-progress__step-label {
        font-size: 12px;
    }

    .pf__booking-progress__meta {
        gap: 10px;
    }
}

@media screen and (max-width: 576px) {
    .pf__booking-progress__steps {
        margin-bottom: 18px;
    }

    .pf__booking-progress__meta {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}

.pf__productselection h2 {
    margin-bottom: 40px;
}

.pf__productselection .pf__productselection__locations {
    margin-top: 50px;
    display: grid;
    grid-gap: 2em;
    grid-template-columns: 1fr 1fr;
}
    
    .pf__productselection .pf__productselection__locations--single {
        grid-template-columns: 1fr;   
    }

    .pf__productselection .pf__productselection__locations--single .pf__productselection .pf__productselection__location {
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }

.pf__productselection__location {
    margin-top: 20px;
    border: var(--box-border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
}

.pf__productselection__location__top {
    margin-top: calc(-32px - 20px);
    margin-bottom: 20px;
}

    .pf__productselection__location__top__pill {
        display: inline-block;
        margin-right: 10px;
        border-radius: 30px;
        height: 40px;
        line-height: 40px;
        padding: 0 12px;
        background: var(--color-secondary);
        color: var(--color-white);
    }

    .pf__productselection__location__top__pill--walking {
        padding: 0 12px 0 32px;
        background: var(--color-primary);
        color: var(--color-white);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.349' fill='white' height='32'%3E%3Cpath d='m1.86 30.177 3.8-19.163-2.683 1.042v3.572a1.462 1.462 0 0 1-1.488 1.488A1.464 1.464 0 0 1 0 15.628v-4.54a1.377 1.377 0 0 1 .243-.8 1.565 1.565 0 0 1 .65-.54L7.516 6.92a3.207 3.207 0 0 1 3.944 1.266l1.488 2.381a7.916 7.916 0 0 0 2.029 2.2 6.777 6.777 0 0 0 2.883 1.228 1.886 1.886 0 0 1 1.061.558 1.5 1.5 0 0 1 .427 1.079 1.378 1.378 0 0 1-.429 1.042A1.2 1.2 0 0 1 17.9 17a11.274 11.274 0 0 1-3.758-1.247 10.6 10.6 0 0 1-2.979-2.353l-.893 4.46 2.679 2.53a1.485 1.485 0 0 1 .335.5 1.541 1.541 0 0 1 .112.576v9.042a1.488 1.488 0 1 1-2.977 0V23.07l-3.126-2.977-2.419 10.716a1.44 1.44 0 0 1-.54.856 1.556 1.556 0 0 1-.985.335 1.5 1.5 0 0 1-1.489-1.823m9.3-24.223a2.863 2.863 0 0 1-2.1-.875 2.874 2.874 0 0 1-.875-2.1 2.863 2.863 0 0 1 .875-2.1 2.963 2.963 0 0 1 4.2 0 2.861 2.861 0 0 1 .874 2.1 2.87 2.87 0 0 1-.874 2.1 2.859 2.859 0 0 1-2.1.874' data-name='Poppetje wandelend'/%3E%3C/svg%3E");
        background-position: 12px 50%;
        background-size: 14px;
        background-repeat: no-repeat;
    }

    .pf__productselection__location__top__pill--available {
        padding: 0 12px 0 32px;
        background-color: #faf1ba;
        color: var(--color-dark);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%23db9621' d='M16 0A16 16 0 1 1 0 16 16 16 0 0 1 16 0m0 20.8a1.6 1.6 0 1 0 1.6 1.6 1.6 1.6 0 0 0-1.6-1.6m0-14.4a1.6 1.6 0 0 0-1.589 1.413L14.4 8v9.6a1.6 1.6 0 0 0 3.189.187l.011-.187V8A1.6 1.6 0 0 0 16 6.4'/%3E%3C/svg%3E");
        background-position: 12px 50%;
        background-size: 14px;
        background-repeat: no-repeat;
    }

    .pf__productselection__location__top__pill--unavailable {
        padding: 0 12px 0 32px;
        background: #f9cdba;
        color: var(--color-dark);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%23da4721' d='M16 0A16 16 0 1 1 0 16 16 16 0 0 1 16 0m0 20.8a1.6 1.6 0 1 0 1.6 1.6 1.6 1.6 0 0 0-1.6-1.6m0-14.4a1.6 1.6 0 0 0-1.589 1.413L14.4 8v9.6a1.6 1.6 0 0 0 3.189.187l.011-.187V8A1.6 1.6 0 0 0 16 6.4'/%3E%3C/svg%3E");
        background-position: 12px 50%;
        background-size: 14px;
        background-repeat: no-repeat;
    }

.pf__productselection__location__header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

    .pf__productselection__location__header__price {
        text-align: right;
        font-size: 12px;
        margin-top: -12px;
    }

    .pf__productselection__location__header__price__label {
        opacity: 0.5;
        margin-bottom: -6px;
        display: inline-block;
    }

    .pf__productselection__location__header__price h3 small {
        font-size: 50%;
    }

.pf__productselection__location__content {
    margin-bottom: 20px;
}

.pf__productselection__location__content__address {
    text-decoration: underline;
    margin-bottom: 20px;
}

.pf__productselection__location__content__story {
    background-color: var(--color-alt);
    color: var(--color-dark);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.pf__productselection__location__footer {
    text-align: right;
}

    .pf__productselection__location__footer__submit:disabled,
    .pf__productselection__location__footer__submit[disabled],
    .pf__productselection__location__footer__submit:disabled:hover,
    .pf__productselection__location__footer__submit[disabled]:hover {
        background-color: var(--color-gray);
        color: var(--color-gray-hover);
        cursor: not-allowed;
    }

    .pf__productselection__location__footer__info {
        color: var(--color-secondary);
        background: var(--color-white);
        text-decoration: underline;
        font-family: var(--font-family);
        font-weight: bold;
        padding: 20px 40px;
        font-size: 16px;
        border-radius: 32px;
        outline: 0;
        border: 0;
        cursor: pointer;
    }

        .pf__productselection__location__footer__info:hover {
            color: var(--color-secondary-hover);
        }


@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*
------ RESERVATION FORM ------ 
*/
.pf__booking__form__section {
    padding: 32px 24px;
    border: var(--box-border);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.pf__booking__form .form__group {
    margin-bottom: 12px;
}

.pf__booking__form input {
    background: var(--color-alt) !important;
    box-sizing: border-box;
}

.form__group.invalid-code,
.form__group.invalid-code input {
    color: red !important;
}

.form__group.valid-code,
.form__group.valid-code input {
    color: var(--color-primary) !important;
}

#price_calculation_wrapper table {
    margin: 20px 0 0;
}

    #price_calculation_wrapper table td {
        padding: 5px;
    }

    #price_calculation_wrapper tr.discount td {
        color: var(--color-primary);
    }

    #price_calculation_wrapper tr.total td {
        font-weight: bold;
    }

    #price_calculation_wrapper table tr td:last-child {
        text-align: right;
    }

.pf__booking__form .input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: calc(100% - 28px);
}

    .pf__booking__form .input-group select {
        width: 65px;
        padding-right: 0;
        background-image: none !important;
        border-right: none !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        background-color: var(--color-alt) !important;
    }

    .pf__booking__form .input-group input.form-control {
        width: calc(100% - 65px);
        border-left: none !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

.pf__booking__form__page .pf__homepage__widget {
    margin-bottom: 0;
}

.pf__booking__form__page .pf__productselection__summary {
    margin-top: 0;
}

.pf__booking__form__page .errors .error {
    background-color: #faf1ba;
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 25px;
}

.pf__booking__form__page :is(input[type="radio"], input[type="checkbox"]) {
    -webkit-appearance: auto;
    appearance: auto;
}

/* TABLET  */
@media screen and (max-width: 991px) {
    .date__overlay {
        width: 100vw;
        /* never wider than the viewport minus the 16px position margins */
        max-width: min(360px, calc(100vw - 32px));
    }

    .date__overlay__content .pill {
        max-width: none;
    }

    .date__overlay__content .flatpickr-calendar.hasTime .numInputWrapper span:after {
        right: 46%;
    }
}

/* TABLET small  */
@media screen and (max-width: 767px) {

    .pf__productselection__summary .pf__homepage__widget--inline {
        flex-direction: column;
    }

    .pf__productselection__summary .pf__homepage__widget--inline .pf__homepage__widget__section--dates {
        flex: none;
        width: 100%;
        margin-right: 0;
    }

    .pf__productselection__summary .pf__homepage__widget--inline .button {
        flex: none;
        width: 100%;
    }
}

/* MOBILE  */
@media screen and (max-width: 576px) {

    .pf__homepage__widget__section--dates {
        display: block;
    }

    .pf__homepage__widget__column__half {
        width: 100%;
    }

    .pf__productselection .pf__productselection__locations {
        grid-template-columns: 1fr;
    }

    .pf__booking__form .form__group input,
    .pf__booking__form .input-group {
        width: 100%;
    }
}

/* iPhone only CSS  */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width:1024px) {
    select,
    textarea,
    input,
    select:focus,
    textarea:focus,
    input:focus {
        font-size: 16px !important;
    }
}

/* ------------------------------------------------------------------ */
/* Collapsed discount code (booking form step 2)                       */
/* ------------------------------------------------------------------ */

.pf__booking__form .pf__discountcode {
    /* Match the 5px inset used by the price-table cells. Theme button
       wrappers otherwise make this secondary action look indented. */
    margin: 0 !important;
    padding: 0 0 0 5px !important;
}

.pf__discountcode__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    color: var(--color-secondary) !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-align: left;
}

.pf__discountcode__toggle,
.pf__discountcode__toggle:hover,
.pf__discountcode__toggle:focus {
    /* never underline the button itself: the decoration line would also be
       drawn underneath the round plus icon and read as a stray dash */
    text-decoration: none !important;
}

.pf__discountcode__toggle:hover,
.pf__discountcode__toggle:focus {
    outline: none;
}

.pf__discountcode__toggle:hover .pf__discountcode__toggle__label,
.pf__discountcode__toggle:focus .pf__discountcode__toggle__label {
    text-decoration: underline;
}

.pf__discountcode__toggle__plus {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #eaf4ff;
    color: var(--color-secondary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.pf__discountcode__toggle.is-open .pf__discountcode__toggle__plus {
    transform: rotate(45deg);
}

.pf__discountcode__panel {
    margin-top: 10px;
}

.pf__discountcode__panel[hidden] {
    display: none !important;
}

.pf__booking__form .pf__newsletter__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.45;
    cursor: pointer;
}

.pf__booking__form .pf__newsletter__consent input[type="checkbox"] {
    flex: 0 0 24px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin: 3px 0 0;
}

/* ------------------------------------------------------------------ */
/* Typable time field: bottom-sheet presentation on small screens      */
/* ------------------------------------------------------------------ */

@media screen and (max-width: 640px) {
    .pf__homepage__widget__datetime__control--time .pf__homepage__widget__datetime__timeinput {
        font-size: 16px; /* prevents iOS focus zoom */
    }

    .date__overlay--sheet.date__overlay--time-mode.date__overlay--visible {
        position: fixed;
        top: auto !important;
        bottom: 0;
        left: 0 !important;
        right: 0;
        width: 100% !important;
        max-width: none;
        min-height: 0;
        transform: none !important;
        -webkit-transform: none !important;
        border-radius: 22px 22px 0 0;
        padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -12px 30px rgba(16, 37, 61, 0.22);
        z-index: 2147483551;
    }

    .date__overlay--sheet.date__overlay--time-mode:before,
    .date__overlay--sheet.date__overlay--time-mode:after {
        display: none;
    }

    .date__overlay--sheet.date__overlay--time-mode .date__overlay__content--time:before {
        content: "";
        display: block;
        width: 44px;
        height: 5px;
        border-radius: 3px;
        background: #d8dee6;
        margin: 0 auto 10px auto;
    }

    .date__overlay--sheet.date__overlay--time-mode .date__overlay__timepicker__panel {
        width: 100%;
        max-width: none;
    }

    .date__overlay--sheet.date__overlay--time-mode .date__overlay__timepicker__list {
        max-height: 38vh;
    }

    .date__overlay--sheet.date__overlay--time-mode .date__overlay__timepicker__option {
        min-height: 52px;
    }
}
