.bsj-activity-presentation {
    --bsj-hotel-accent: #1558a6;
}

.bsj-activity-presentation__address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 0;
    color: #64717d;
    font-size: 13px;
    line-height: 1.4;
}

.bsj-activity-presentation__address svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.bsj-activity-presentation .bsj-hotel-presentation__booking-boundary {
    scroll-margin-top: 88px;
}

.bsj-activity-presentation__booking-panel {
    position: sticky;
    top: 88px;
    width: 100%;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e1e9f2;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(23, 36, 50, 0.1);
}

.bsj-activity-presentation__booking-panel .form-book-wrapper,
.bsj-activity-presentation__booking-panel .activity-booking-form,
.bsj-activity-presentation__booking-panel .bsj-complex-booking {
    width: 100%;
    min-width: 0;
}

.bsj-activity-presentation__booking-panel .form-book-wrapper {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.bsj-activity-presentation__booking-panel .form-head {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.bsj-activity-presentation__booking-panel .form-head .price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #172432;
}

.bsj-activity-presentation__booking-panel .form-head .label {
    color: #64717d;
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
}

.bsj-activity-presentation__booking-panel .form-head .value {
    color: #172432;
    font-size: 24px;
    font-weight: 750;
}

.bsj-activity-presentation__booking-panel .form-group {
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid #e7edf4;
}

.bsj-activity-presentation__booking-panel .form-control,
.bsj-activity-presentation__booking-panel input,
.bsj-activity-presentation__booking-panel select,
.bsj-activity-presentation__booking-panel textarea {
    max-width: 100%;
}

.bsj-activity-presentation__booking-panel .submit-group {
    margin-top: 16px;
}

.bsj-activity-presentation__booking-panel .btn-book-ajax,
.bsj-activity-presentation__booking-panel .submit-group > .btn,
.bsj-activity-presentation__booking-panel .submit-group > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: #1558a6;
    box-shadow: 0 12px 26px rgba(21, 88, 166, 0.2);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.bsj-activity-presentation__booking-panel .bsj-complex-booking {
    margin: 0;
}

.bsj-activity-presentation .bsj-activity-booking-formulas {
    position: relative;
    margin-bottom: 12px;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 64px;
    gap: 14px;
    padding: 11px 14px;
    border: 1px solid #dfe6ee;
    border-radius: 14px;
    color: #172432;
    background: #ffffff;
    font: inherit;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger:hover,
.bsj-activity-presentation .bsj-activity-booking-formulas__trigger:focus-visible,
.bsj-activity-presentation .bsj-activity-booking-formulas__trigger[aria-expanded="true"] {
    border-color: #8bb5e4;
    box-shadow: 0 0 0 3px rgba(21, 88, 166, 0.08);
    outline: 0;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger-copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 4px;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger-media,
.bsj-activity-presentation .bsj-activity-booking-formulas__option-media {
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: #edf2f7;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger-media {
    width: 44px;
    height: 44px;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option-media {
    width: 48px;
    height: 48px;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger-media img,
.bsj-activity-presentation .bsj-activity-booking-formulas__option-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger small {
    color: #667688;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1.25;
    text-transform: uppercase;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: #1558a6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.bsj-activity-presentation .bsj-activity-booking-formulas__popover {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(360px, 55vh);
    overflow: auto;
    padding: 7px;
    border: 1px solid #dfe6ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(23, 36, 50, 0.16);
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #172432;
    background: transparent;
    font: inherit;
    text-align: left;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option:hover,
.bsj-activity-presentation .bsj-activity-booking-formulas__option:focus-visible {
    border-color: #d8e7f7;
    background: #f6faff;
    outline: 0;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option.is-selected {
    border-color: #b7d2ef;
    background: #edf5ff;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option.is-unavailable {
    opacity: 0.5;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option-copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 2px;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option-copy strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option-copy small {
    overflow: hidden;
    color: #667688;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bsj-activity-presentation .bsj-activity-booking-formulas__option-price {
    flex: 0 0 auto;
    color: #1558a6;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .bsj-activity-presentation .bsj-hotel-presentation__header {
        padding-top: 30px;
    }

    .bsj-activity-presentation__address {
        justify-content: center;
        text-align: center;
    }

    .bsj-activity-presentation .bsj-hotel-presentation__description-shell:first-child {
        margin-top: 0;
    }

    .bsj-activity-presentation__booking-panel {
        position: static;
        margin-top: 38px;
        padding: 14px;
        border-radius: 18px;
    }

    .bsj-activity-presentation .bsj-activity-booking-formulas {
        margin-bottom: 12px;
    }

    .bsj-activity-presentation .bsj-activity-booking-formulas__popover {
        position: static;
        max-height: none;
        margin-top: 8px;
        box-shadow: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .bsj-activity-presentation__booking-panel .btn-book-ajax,
    .bsj-activity-presentation__booking-panel .submit-group > .btn,
    .bsj-activity-presentation__booking-panel .submit-group > a {
        transition: none;
    }
}
