main.home-page {
    max-width: none;
    padding: 0;
}

html.home-search-date-modal-open,
body.home-search-date-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.home-search-date-modal-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.38);
    pointer-events: none;
    backdrop-filter: blur(3px) grayscale(0.2);
    -webkit-backdrop-filter: blur(3px) grayscale(0.2);
}

.home-search-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: calc(var(--top-bar-height) + var(--header-height) + 100px) 24px 250px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: url('../../images/fond-canyon.webp') center center / cover no-repeat;
    overflow: visible;
}

.home-search-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(173deg, rgb(12 31 38 / 57%) 0%, rgb(12 31 38 / 23%) 48%, rgb(255 255 255 / 49%) 100%);
    pointer-events: none;
}

.home-search-hero::after {
    content: none;
}

.home-search-hero__content {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    display: grid;
    gap: 28px;
    justify-items: center;
    margin-top: -56px;
}

.home-search-hero__copy {
    width: min(1120px, 100%);
    display: grid;
    gap: 14px;
    justify-self: start;
    padding-left: 52px;
    text-align: left;
}

.home-search-hero__eyebrow {
    font-family: 'Asap Condensed', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.home-search-hero h1 {
    color: var(--color-white);
    text-align: left;
    font-size: clamp(1.75rem, 2.75vw, 3.05rem);
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.home-search-hero__title-flag {
    display: inline-block;
    margin-left: 0.18em;
    font-size: 0.82em;
    vertical-align: 0.02em;
    text-shadow: none;
}

.home-search-hero__lead {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.home-search-form {
    width: min(1140px, 100%);
}

.home-search-hero__tagline {
    margin: -18px 0 0;
    width: min(1140px, 100%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: right;
    padding-right: 22px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.home-search-experience {
    position: absolute;
    top: 29px;
    left: max(24px, calc((100vw - 1180px) / 2 + 30px));
    bottom: auto;
    z-index: 1;
    display: block;
    padding: 0;
    background: transparent;
    color: var(--color-white);
    text-align: center;
    font-family: 'Protest Riot', cursive;
    font-style: italic;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 1), 0 0 18px rgba(0, 0, 0, 0.78), 0 0 4px rgba(0, 0, 0, 0.95);
    pointer-events: none;
    transform: rotate(-8deg);
}

.home-search-experience__years {
    font-family: 'Protest Riot', cursive;
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-white);
}

.home-search-experience__plus {
    display: inline-block;
    margin-right: 1px;
    color: var(--color-white);
    font-size: 28px;
    line-height: 1;
}

.home-search-experience__since {
    margin-top: 2px;
    font-family: 'Protest Riot', cursive;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-white);
}

.home-search-mobile-trigger {
    display: none;
}

main.home-page .home-search-bar {
    padding: 3px;
}

main.home-page .home-search-field {
    padding-block: 2px;
}

main.home-page .home-search-field:not(:last-of-type)::after {
    top: 11px;
    height: calc(100% - 22px);
}

main.home-page .home-search-field__label {
    margin-bottom: 1px;
}

main.home-page .home-search-trigger,
main.home-page .home-search-field select {
    min-height: 30px;
}

main.home-page .home-search-submit {
    min-height: 64px;
    padding-inline: 20px;
    border-radius: 35px;
}

.home-search-bar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 0.95fr) minmax(220px, 0.95fr) auto;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 36px;
    box-shadow: 0 10px 10px rgb(12 31 38 / 71%);
    backdrop-filter: blur(18px);
}

.home-search-field {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 22px;
}

.home-search-field:not(:last-of-type)::after {
    content: '';
    position: absolute;
    top: 18px;
    right: 0;
    width: 1px;
    height: calc(100% - 36px);
    background: rgba(45, 110, 120, 0.14);
}

.home-search-field__label {
    margin-bottom: 4px;
    font-family: 'Asap Condensed', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-slate-800);
}

.home-search-field__control,
.home-search-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-search-field__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-search-field select,
.home-search-trigger {
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--color-slate-700);
    min-height: 36px;
}

.home-search-field select {
    width: 100%;
    padding-right: 16px;
    cursor: pointer;
    appearance: none;
    font-size: 1.02rem;
    font-weight: 500;
}

.home-search-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.home-search-field--activity select:focus,
.home-search-field--activity select:focus-visible {
    outline: none;
    box-shadow: none;
}

.home-search-trigger--activity {
    justify-content: flex-start;
}

.home-search-trigger--activity .home-search-trigger__text {
    flex: 0 1 auto;
}

.home-search-trigger--activity .home-search-trigger__chevron {
    margin-left: auto;
}

.home-search-trigger__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-search-trigger {
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.home-search-trigger__text {
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--color-slate-700);
}

.home-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 176px;
    min-height: 78px;
    padding: 0 24px;
    border: 0;
    border-radius: 25px;
    background: #ff8c00;
    color: var(--color-white);
    font-family: 'Asap Condensed', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
}

.home-search-submit:hover,
.home-search-submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(255, 140, 0, 0.34);
}

.home-search-submit:focus-visible,
.home-search-trigger:focus-visible,
.home-search-panel__field input:focus-visible,
.home-search-panel__secondary:focus-visible,
.home-search-panel__primary:focus-visible,
.home-search-calendar__nav:focus-visible,
.home-search-calendar__day:focus-visible,
.home-search-calendar__shortcut:focus-visible,
.participant-stepper__button:focus-visible {
    outline: 2px solid rgba(6, 143, 120, 0.4);
    outline-offset: 3px;
}

.home-search-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 25;
    width: min(360px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid rgba(45, 110, 120, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 45px rgba(12, 31, 38, 0.18);
}

.home-search-desktop-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(2, 6, 23, 0.52);
}

.home-search-panel[hidden] {
    display: none !important;
}

.home-search-panel--desktop-modal {
    position: fixed;
    inset: auto !important;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 1000;
    width: min(740px, calc(100vw - 40px));
    max-height: min(760px, calc(100vh - 56px));
    margin: 0;
    padding: 20px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    transform: translate(-50%, -50%) !important;
}

.home-search-panel--participants.home-search-panel--desktop-modal {
    width: min(520px, calc(100vw - 40px));
}

.home-search-panel--activity.home-search-panel--desktop-modal {
    width: min(560px, calc(100vw - 40px));
    padding: 20px;
}

@media (min-width: 901px) {
    .home-search-desktop-modal-open .home-search-panel--date.home-search-panel--desktop-modal,
    .home-search-desktop-modal-open .home-search-panel--participants.home-search-panel--desktop-modal,
    .home-search-desktop-modal-open .home-search-panel--activity.home-search-panel--desktop-modal {
        position: fixed !important;
        inset: auto !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: translate(-50%, -50%) !important;
        border-radius: 24px !important;
        box-shadow: 0 30px 70px rgba(2, 6, 23, 0.28) !important;
    }

    .home-search-desktop-modal-open .home-search-panel--date.home-search-panel--desktop-modal {
        width: min(740px, calc(100vw - 40px)) !important;
        max-height: min(760px, calc(100vh - 56px)) !important;
    }

    .home-search-desktop-modal-open .home-search-panel--participants.home-search-panel--desktop-modal {
        width: min(520px, calc(100vw - 40px)) !important;
        max-height: min(520px, calc(100vh - 56px)) !important;
    }

    .home-search-desktop-modal-open .home-search-panel--activity.home-search-panel--desktop-modal {
        width: min(560px, calc(100vw - 40px)) !important;
        max-height: min(760px, calc(100vh - 56px)) !important;
    }
}

.home-search-panel--desktop-modal .home-search-panel__header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 12px;
}

.home-search-panel--desktop-modal .home-search-panel__title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
}

.home-search-panel--desktop-modal .home-search-panel__body {
    min-height: 0;
    overflow: auto;
    padding-top: 12px;
}

.home-search-panel--desktop-modal .home-search-panel__footer {
    display: block;
}

.home-search-panel--date {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(740px, calc(100vw - 40px));
}

.home-search-panel--activity {
    left: 0;
    right: auto;
    width: min(380px, calc(100vw - 40px));
    padding: 10px;
}

.home-search-panel__header {
    display: none;
}

.home-search-panel__title {
    margin: 0;
}

.home-search-panel__close,
.home-search-panel__close-spacer {
    width: 44px;
    height: 44px;
}

.home-search-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-slate-900);
    cursor: pointer;
}

.home-search-panel__body {
    display: grid;
}

.home-search-panel__footer {
    margin-top: 16px;
}

.home-search-panel--activity .home-search-panel__footer,
.home-search-panel--participants .home-search-panel__footer {
    display: none;
}

.home-search-panel--activity.home-search-panel--desktop-modal .home-search-panel__footer,
.home-search-panel--participants.home-search-panel--desktop-modal .home-search-panel__footer,
.home-search-panel--date.home-search-panel--desktop-modal .home-search-panel__footer {
    display: block;
}

.home-search-field__icon--activity {
    width: 22px;
    height: 22px;
}

.home-search-field__icon--activity img,
.home-search-activity-option__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-search-activity-list {
    display: grid;
    gap: 6px;
}

.home-search-activity-option {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    text-align: left;
    color: var(--color-slate-900);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.home-search-activity-option:hover,
.home-search-activity-option.is-selected {
    background: rgba(226, 232, 240, 0.72);
}

.home-search-activity-option__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(241, 245, 249, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-search-activity-option__copy {
    display: grid;
    gap: 2px;
}

.home-search-activity-option__copy strong {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-search-activity-option__meta {
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--color-slate-500);
}

.home-search-calendar {
    display: grid;
    gap: 18px;
}

.home-search-calendar__months-wrap {
    display: block;
}

.home-search-calendar__shortcuts {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-search-calendar__shortcuts-legend {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.home-search-calendar__shortcuts-legend .home-search-panel__legend {
    margin: 0;
}

.home-search-calendar__shortcut {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(45, 110, 120, 0.14);
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.85);
    color: var(--color-slate-900);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-search-calendar__shortcut.is-active,
.home-search-calendar__shortcut:hover {
    background: var(--color-slate-900);
    border-color: var(--color-slate-900);
    color: var(--color-white);
}

.home-search-calendar__months {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.home-search-calendar__month {
    display: grid;
    gap: 16px;
}

.home-search-calendar__month-header {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    gap: 10px;
}

.home-search-calendar__month-title {
    margin: 0;
    text-align: center;
    color: var(--color-slate-900);
    font-size: 1.05rem;
    font-weight: 800;
}

.home-search-calendar__nav {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-slate-900);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.home-search-calendar__nav:disabled {
    opacity: 0.24;
    cursor: not-allowed;
}

.home-search-calendar__nav--spacer {
    cursor: default;
}

.home-search-calendar__weekdays,
.home-search-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.home-search-calendar__weekdays {
    gap: 6px;
}

.home-search-calendar__grid {
    gap: 0;
}

.home-search-calendar__weekday {
    text-align: center;
    color: var(--color-slate-500);
    font-size: 0.9rem;
    font-weight: 700;
}

.home-search-calendar__empty,
.home-search-calendar__day {
    min-height: 44px;
}

.home-search-calendar__empty {
    display: block;
}

.home-search-calendar__day {
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--color-slate-900);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-calendar__day:hover:not(.is-disabled):not(.is-selected) {
    background: rgba(226, 232, 240, 0.75);
}

.home-search-calendar__day.is-no-guide-available:not(.is-selected):not(.is-in-range) {
    background: rgba(239, 68, 68, 0.12);
    color: #8f1d1d;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.14);
}

.home-search-calendar__day.is-no-guide-available:hover:not(.is-disabled):not(.is-selected) {
    background: rgba(239, 68, 68, 0.18);
}

.home-search-calendar__day.is-confirmed-outing:not(.is-disabled):not(.is-selected):not(.is-in-range) {
    background: rgba(247, 148, 29, 0.32);
    color: #7c3a05;
    box-shadow: inset 0 0 0 1px rgba(247, 148, 29, 0.58);
}

.home-search-calendar__day.is-confirmed-outing:hover:not(.is-disabled):not(.is-selected) {
    background: rgba(247, 148, 29, 0.42);
}

.home-search-calendar__day.is-in-range {
    background: rgba(226, 232, 240, 0.95);
    border-radius: 0;
}

.home-search-calendar__day.is-confirmed-outing.is-in-range {
    background: rgba(247, 148, 29, 0.42);
}

.home-search-calendar__day.is-no-guide-available.is-in-range {
    background: rgba(239, 68, 68, 0.25);
}

.home-search-calendar__day.is-range-start,
.home-search-calendar__day.is-range-end,
.home-search-calendar__day.is-selected {
    background: #21355b;
    color: var(--color-white);
    box-shadow: inset 0 0 0 2px rgba(12, 31, 38, 0.18);
}

.home-search-calendar__day.is-confirmed-outing.is-selected,
.home-search-calendar__day.is-confirmed-outing.is-range-start,
.home-search-calendar__day.is-confirmed-outing.is-range-end {
    background: rgba(247, 148, 29, 0.46);
    color: #7c3a05;
    box-shadow: inset 0 0 0 2px rgba(247, 148, 29, 0.78);
}

.home-search-calendar__day.is-no-guide-available.is-selected,
.home-search-calendar__day.is-no-guide-available.is-range-start,
.home-search-calendar__day.is-no-guide-available.is-range-end {
    background: rgba(239, 68, 68, 0.25);
    color: #8f1d1d;
    box-shadow: inset 0 0 0 2px rgba(239, 68, 68, 0.4);
}

.home-search-calendar__day.is-range-start {
    border-radius: 14px 0 0 14px;
    margin-right: -1px;
    position: relative;
    z-index: 2;
}

.home-search-calendar__day.is-range-end {
    border-radius: 0 14px 14px 0;
    margin-left: -1px;
    position: relative;
    z-index: 2;
}

.home-search-calendar__day.is-range-start.is-range-end,
.home-search-calendar__day.is-selected:not(.is-in-range):not(.is-range-start):not(.is-range-end) {
    border-radius: 14px;
}

.home-search-calendar__day.is-in-range {
    position: relative;
    z-index: 1;
}

.home-search-calendar__day.is-disabled {
    color: rgba(148, 163, 184, 0.8);
    cursor: not-allowed;
}

.home-search-calendar__day:disabled,
.home-search-calendar__day[aria-disabled='true'] {
    cursor: not-allowed;
}

.home-search-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-search-panel__field {
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--color-slate-700);
}

.home-search-panel__field span {
    font-family: 'Asap Condensed', sans-serif;
    font-weight: 600;
}

.home-search-panel__field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(45, 110, 120, 0.18);
    border-radius: 16px;
    font: inherit;
    color: var(--color-slate-800);
    background: var(--color-white);
}

.home-search-panel__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.home-search-panel__actions--single {
    justify-content: flex-end;
}

.home-search-panel__legend-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.home-search-panel__legend {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--color-slate-600);
    font-size: 0.92rem;
    line-height: 1.4;
}

.home-search-panel__legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 6px;
    flex: 0 0 auto;
    background: rgba(239, 68, 68, 0.12);
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.16);
}

.home-search-panel__legend-swatch--confirmed {
    background: rgba(247, 148, 29, 0.32);
    box-shadow: inset 0 0 0 1px rgba(247, 148, 29, 0.58);
}

.home-search-panel__secondary,
.home-search-panel__primary {
    border-radius: 16px;
    padding: 12px 18px;
    font-family: 'Asap Condensed', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
}

.home-search-panel__secondary {
    border: 1px solid rgba(45, 110, 120, 0.24);
    background: var(--color-white);
    color: var(--color-slate-800);
}

.home-search-panel__primary {
    border: 0;
    background: var(--color-primary);
    color: var(--color-white);
}

.home-search-panel__primary:disabled,
.home-search-panel__primary[aria-disabled="true"] {
    background: rgba(148, 163, 184, 0.7);
    color: rgba(255, 255, 255, 0.88);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.72;
}

.home-search-panel__hint {
    margin: 0 0 16px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-slate-600);
}

.participant-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.participant-stepper__copy {
    display: grid;
    gap: 6px;
}

.participant-stepper__copy strong {
    color: var(--color-slate-900);
    font-size: 1rem;
}

.participant-stepper__copy span {
    color: var(--color-slate-600);
    font-size: 0.92rem;
}

.participant-stepper__controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.participant-stepper__button {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(45, 110, 120, 0.18);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-slate-800);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.participant-stepper__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.participant-stepper__count {
    min-width: 30px;
    text-align: center;
    font-family: 'Asap Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-slate-900);
}

.home-search-hero__helper {
    max-width: 720px;
    margin: 4px auto 0;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1024px) {
    .home-search-bar {
        grid-template-columns: 1fr 1fr;
        border-radius: 28px;
        gap: 6px;
    }

    .home-search-field:nth-of-type(2)::after,
    .home-search-field:last-of-type::after {
        display: none;
    }

    .home-search-submit {
        min-height: 64px;
    }
}

@media (max-width: 767px) {
    .home-search-hero {
        min-height: auto;
        padding: calc(var(--header-height) + 40px) 16px 44px;
    }

    .home-search-hero__content {
        gap: 22px;
        margin-top: 0;
    }

    .home-search-hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
        text-align: center;
        white-space: normal;
    }

    .home-search-hero__copy {
        justify-self: center;
        padding-left: 0;
        text-align: center;
    }

    .home-search-hero__lead,
    .home-search-hero__helper {
        font-size: 0.98rem;
    }

    .home-search-experience {
        position: absolute;
        top: calc(var(--header-height) - 20px);
        left: 18px;
        bottom: auto;
        margin-top: 0;
        padding: 0;
        transform: rotate(-5deg);
    }

    .home-search-experience__years {
        font-size: 16px;
    }

    .home-search-experience__plus {
        font-size: 14px;
    }

    .home-search-experience__since {
        font-size: 11px;
    }

    .home-search-bar {
        grid-template-columns: 1fr;
        padding: 12px;
        border-radius: 24px;
    }

    .home-search-form[data-mobile-wizard="1"] .home-search-mobile-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 18px 22px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 14px 28px rgba(12, 31, 38, 0.24);
        color: var(--color-slate-900);
        text-align: left;
        cursor: pointer;
    }

    .home-search-form[data-mobile-wizard="1"] .home-search-mobile-trigger__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .home-search-form[data-mobile-wizard="1"] .home-search-mobile-trigger__text {
        font-size: 1.08rem;
        font-weight: 500;
        line-height: 1.2;
    }

    .home-search-form[data-mobile-wizard="1"] .home-search-bar {
        display: none;
    }

    .home-search-field {
        padding: 10px 8px 16px;
    }

    .home-search-field::after {
        top: auto;
        right: 8px;
        bottom: 0;
        left: 8px;
        width: auto;
        height: 1px;
    }

    .home-search-submit {
        min-width: 100%;
        min-height: 56px;
        border-radius: 18px;
    }

    .home-search-panel {
        position: static;
        width: 100%;
        margin-top: 14px;
        transform: none;
        box-shadow: inset 0 0 0 1px rgba(45, 110, 120, 0.1);
    }

    .home-search-panel--date {
        position: fixed;
        inset: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 100dvw;
        max-width: 100dvw;
        min-height: 100dvh;
        height: 100dvh;
        max-height: none;
        margin: 0 !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: var(--color-white);
        box-shadow: none;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        overflow: hidden;
        transform: none !important;
    }

    .home-search-panel--activity,
    .home-search-panel--participants {
        position: fixed;
        inset: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        width: 100dvw;
        max-width: 100dvw;
        min-height: 100dvh;
        height: 100dvh;
        max-height: none;
        margin: 0 !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: var(--color-white);
        box-shadow: none;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        overflow: hidden;
        transform: none !important;
    }

    .home-search-panel--participants {
        inset: auto 0 0;
        top: auto;
        width: 100dvw;
        min-height: 0;
        height: auto;
        max-height: min(420px, calc(100dvh - 56px));
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -20px 40px rgba(15, 23, 42, 0.16);
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .home-search-panel--activity[data-home-search-mobile-top-panel="1"],
    .home-search-panel--participants[data-home-search-mobile-top-panel="1"] {
        inset: 0 0 auto;
        top: 0;
        bottom: auto;
        min-height: 0;
        height: auto;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
        overflow-y: auto;
    }

    .home-search-panel--activity {
        inset: auto 0 0;
        top: auto;
        width: 100dvw;
        min-height: 0;
        height: auto;
        max-height: min(560px, calc(100dvh - 40px));
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -20px 40px rgba(15, 23, 42, 0.16);
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .home-search-panel--date .home-search-panel__header,
    .home-search-panel--activity .home-search-panel__header,
    .home-search-panel--participants .home-search-panel__header {
        position: sticky;
        top: 0;
        z-index: 2;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        gap: 12px;
        min-height: 72px;
        padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 12px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    }

    .home-search-panel--participants .home-search-panel__header {
        min-height: 68px;
        padding: 14px 16px 12px;
    }

    .home-search-panel--activity .home-search-panel__header {
        min-height: 68px;
        padding: 14px 16px 12px;
    }

    .home-search-panel--date .home-search-panel__title,
    .home-search-panel--activity .home-search-panel__title,
    .home-search-panel--participants .home-search-panel__title {
        text-align: center;
        color: var(--color-slate-900);
        font-size: 1.3rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .home-search-panel--date .home-search-panel__close,
    .home-search-panel--activity .home-search-panel__close,
    .home-search-panel--participants .home-search-panel__close {
        border-radius: 14px;
    }

    .home-search-panel--date .home-search-panel__body,
    .home-search-panel--activity .home-search-panel__body,
    .home-search-panel--participants .home-search-panel__body {
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 20px 16px;
    }

    .home-search-panel--participants .home-search-panel__body {
        padding: 18px 16px 16px;
        align-content: start;
    }

    .home-search-panel--activity .home-search-panel__body {
        padding: 16px;
        align-content: start;
    }

    .home-search-panel--date .home-search-panel__footer,
    .home-search-panel--activity .home-search-panel__footer,
    .home-search-panel--participants .home-search-panel__footer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin-top: 0;
        padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        background: var(--color-white);
    }

    .home-search-panel--participants .home-search-panel__footer {
        padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
    }

    .home-search-panel--activity .home-search-panel__footer {
        padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
    }

    .home-search-panel--activity[data-home-search-mobile-wizard-panel="1"] .home-search-panel__footer {
        display: none;
    }

    .home-search-panel--activity .home-search-panel__footer,
    .home-search-panel--participants .home-search-panel__footer {
        display: block;
    }

    .home-search-panel--activity[data-home-search-mobile-top-panel="1"] .home-search-panel__body,
    .home-search-panel--participants[data-home-search-mobile-top-panel="1"] .home-search-panel__body {
        overflow-y: visible;
    }

    .home-search-panel--activity[data-home-search-mobile-top-panel="1"] .home-search-panel__footer,
    .home-search-panel--participants[data-home-search-mobile-top-panel="1"] .home-search-panel__footer {
        position: static;
    }

    .home-search-panel--date .home-search-panel__actions,
    .home-search-panel--activity .home-search-panel__actions,
    .home-search-panel--participants .home-search-panel__actions {
        margin-top: 0;
        align-items: center;
    }

    .home-search-panel--date .home-search-panel__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-search-panel--date .home-search-panel__legend-wrap {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .home-search-panel--date .home-search-panel__legend {
        font-size: 0.88rem;
    }

    .home-search-panel--date .home-search-panel__secondary,
    .home-search-panel--date .home-search-panel__primary,
    .home-search-panel--activity .home-search-panel__secondary,
    .home-search-panel--activity .home-search-panel__primary,
    .home-search-panel--participants .home-search-panel__secondary,
    .home-search-panel--participants .home-search-panel__primary {
        min-height: 48px;
    }

    .home-search-panel--date .home-search-calendar {
        height: auto;
        min-height: max-content;
        grid-template-rows: auto auto;
        gap: 18px;
    }

    .home-search-panel--date .home-search-calendar__shortcuts {
        gap: 10px;
        flex-wrap: wrap;
    }

    .home-search-panel--date .home-search-calendar__shortcuts-legend {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .home-search-panel--date .home-search-calendar__months-wrap {
        min-height: auto;
        overflow: visible;
        padding-bottom: 12px;
    }

    .home-search-panel--activity .home-search-activity-list {
        gap: 10px;
    }

    .home-search-panel--activity .home-search-activity-option {
        padding: 14px 16px;
        border-radius: 20px;
    }

    .home-search-panel--participants .participant-stepper {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .home-search-panel--participants .participant-stepper__controls {
        justify-content: space-between;
    }

    .home-search-calendar__months {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-search-panel__grid {
        grid-template-columns: 1fr;
    }

    .participant-stepper {
        flex-direction: column;
        align-items: stretch;
    }

    .participant-stepper__controls {
        justify-content: space-between;
    }
}

@media (max-width: 900px) {
    .home-search-panel--date .home-search-panel__actions,
    .home-search-panel--activity .home-search-panel__actions,
    .home-search-panel--participants .home-search-panel__actions {
        flex-direction: row;
        align-items: center;
    }

    .home-search-panel--date .home-search-panel__secondary,
    .home-search-panel--date .home-search-panel__primary,
    .home-search-panel--activity .home-search-panel__secondary,
    .home-search-panel--activity .home-search-panel__primary,
    .home-search-panel--participants .home-search-panel__secondary,
    .home-search-panel--participants .home-search-panel__primary {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}
