.srt-excursion-participants {
    position: relative;
}

.srt-excursion-participants__trigger {
    align-items: center;
    background: #fff;
    border: 1px solid var(--srt-line);
    border-radius: 10px;
    color: var(--srt-ink);
    cursor: pointer;
    display: flex;
    font: inherit;
    min-height: 44px;
    padding: .65rem .75rem;
    text-align: left;
    width: 100%;
}

.srt-excursion-participants__trigger:focus-visible {
    border-color: var(--srt-accent);
    outline: 2px solid color-mix(in srgb, var(--srt-accent) 18%, transparent);
    outline-offset: 1px;
}

.srt-excursion-participants.is-invalid .srt-excursion-participants__trigger {
    border-color: #c73636;
}

.srt-excursion-participants__panel {
    background: #fff;
    border: 1px solid #d7dce3;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgb(23 35 58 / 20%);
    box-sizing: border-box;
    color: var(--srt-ink);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 1rem;
    position: fixed;
    z-index: 10070;
}

.srt-excursion-participants__panel[hidden] {
    display: none;
}

.srt-excursion-participants__panel .srt-picker-page__header {
    display: none;
}

.srt-excursion-participants__row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 60px;
}

.srt-excursion-participants__row + .srt-excursion-participants__row {
    border-top: 1px solid #e5e8ed;
}

.srt-excursion-participants__label strong,
.srt-excursion-participants__label small {
    display: block;
}

.srt-excursion-participants__label strong {
    color: var(--srt-ink);
    font-size: 1rem;
    font-weight: 500;
}

.srt-excursion-participants__label small {
    color: var(--srt-muted);
    font-size: .78rem;
    margin-top: .15rem;
}

.srt-excursion-participants__stepper {
    align-items: center;
    display: grid;
    flex: 0 0 auto;
    gap: .55rem;
    grid-template-columns: 32px 44px 32px;
}

.srt-excursion-participants__step {
    align-items: center;
    background: #fff;
    border: 2px solid var(--srt-accent);
    border-radius: 50%;
    color: var(--srt-accent);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 1.35rem;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 2px;
    width: 32px;
}

.srt-excursion-participants__step:disabled {
    border-color: #c9d0d5;
    color: #a8b0b5;
    cursor: default;
}

.srt-excursion-participants__count {
    align-items: center;
    border: 1px solid #aeb7c3;
    border-radius: 9px;
    color: var(--srt-ink);
    display: flex;
    font-size: 1rem;
    height: 42px;
    justify-content: center;
    min-width: 44px;
}

.srt-excursion-participants__ages {
    border-top: 1px solid #e5e8ed;
    display: grid;
    gap: .7rem;
    margin-top: .25rem;
    padding-top: 1rem;
}

.srt-excursion-participants__ages:empty {
    display: none;
}

.srt-excursion-participants__age {
    align-items: center;
    border: 0;
    display: grid;
    gap: .75rem;
    grid-template-columns: minmax(0, 1fr) minmax(150px, .95fr);
    margin: 0;
    min-height: 0;
    padding: 0;
}

.srt-excursion-participants__age > span {
    color: var(--srt-ink);
    font-size: .9rem;
    font-weight: 400;
}

.srt-excursion-participants__age select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23158da7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") calc(100% - .8rem) center / 14px no-repeat;
    border: 1px solid #aeb7c3;
    border-radius: 9px;
    color: var(--srt-ink);
    font: inherit;
    min-height: 42px;
    padding: .55rem 2.25rem .55rem .75rem;
    width: 100%;
}

.srt-excursion-participants__age select.srt-field-invalid {
    border-color: #c73636;
    box-shadow: 0 0 0 3px rgb(199 54 54 / 14%);
}

.srt-excursion-participants__apply {
    background: var(--srt-accent);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    margin-top: 1rem;
    min-height: 44px;
    padding: .7rem 1rem;
    width: 100%;
}

.srt-excursion-participants__apply:hover,
.srt-excursion-participants__apply:focus-visible {
    background: color-mix(in srgb, var(--srt-accent) 85%, #000);
}

body.srt-participant-picker-open {
    overflow: hidden;
}

.srt-excursion-participants__panel.is-mobile-sheet {
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: block;
    height: 100dvh;
    inset: 0 !important;
    margin: 0;
    max-height: none;
    max-width: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 var(--srt-page-gutter, 1rem) 2rem;
    position: fixed;
    width: 100vw !important;
    z-index: 10100;
}

.srt-excursion-participants__panel.is-mobile-sheet .srt-picker-page__header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e5e8ed;
    display: flex;
    justify-content: space-between;
    margin: 0 calc(var(--srt-page-gutter, 1rem) * -1) 1.25rem;
    min-height: 64px;
    padding: 0 var(--srt-page-gutter, 1rem);
    position: sticky;
    top: 0;
    z-index: 2;
}

.srt-excursion-participants__panel.is-mobile-sheet .srt-picker-page__header strong {
    color: var(--srt-ink);
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.2;
}

.srt-excursion-participants__panel.is-mobile-sheet > :not(.srt-picker-page__header) {
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
    width: 100%;
}

.srt-excursion-participants__panel.is-mobile-sheet .srt-excursion-participants__row {
    min-height: 72px;
}

.srt-excursion-participants__panel .srt-picker-page__close {
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--srt-ink);
    cursor: pointer;
    flex: 0 0 42px;
    height: 42px;
    margin-right: -.55rem;
    padding: 0;
    position: relative;
    width: 42px;
}

.srt-excursion-participants__panel .srt-picker-page__close:hover,
.srt-excursion-participants__panel .srt-picker-page__close:focus-visible {
    background: #f0f2f4;
    outline: 0;
}

.srt-excursion-participants__panel .srt-picker-page__close::before,
.srt-excursion-participants__panel .srt-picker-page__close::after {
    background: currentColor;
    content: "";
    height: 2px;
    left: 12px;
    position: absolute;
    top: 20px;
    width: 18px;
}

.srt-excursion-participants__panel .srt-picker-page__close::before {
    transform: rotate(45deg);
}

.srt-excursion-participants__panel .srt-picker-page__close::after {
    transform: rotate(-45deg);
}

@media (max-width: 420px) {
    .srt-excursion-participants__age {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
}
