.hbk-stay-search{background:#fff}.hbk-stay-search h2{margin:0 0 22px}.hbk-stay-search form{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:16px;align-items:end;min-width:0}.hbk-stay-search form>label,.hbk-party{min-width:0;margin:0}.hbk-stay-search label{display:grid;gap:8px;font-size:14px;font-weight:600}.hbk-stay-search input,.hbk-stay-search select,.hbk-date-open{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:56px;border:1px solid #abb6af;border-radius:10px;padding:12px 14px;background:#fff;color:#173f34;font:inherit;font-size:16px;text-align:left}.hbk-date-open{cursor:pointer;height:auto;min-height:56px;line-height:1.3}.hbk-stay-search .hbk-button{min-height:56px;width:100%;margin:0;white-space:nowrap;box-sizing:border-box}.hbk-search-enhanced .hbk-arrival>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.hbk-stay-search [hidden]{display:none!important}.hbk-stay-search :is(input,select,button,summary):focus-visible{outline:3px solid #b86d36;outline-offset:3px}.hbk-stay-search button:disabled{cursor:default;opacity:.4}
.hbk-party{position:relative;align-self:end}.hbk-party summary{cursor:pointer;display:grid;gap:8px;list-style:none;color:#173f34}.hbk-party summary::-webkit-details-marker{display:none}.hbk-party summary span{font-size:14px;font-weight:600}.hbk-party summary strong{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;box-sizing:border-box;padding:12px 14px;border:1px solid #abb6af;border-radius:10px;background:#fff;font-size:16px;font-weight:600}.hbk-party summary strong::after{content:'⌄';flex-shrink:0}.hbk-party-panel{position:absolute;top:100%;left:0;z-index:100;width:340px;max-width:calc(100vw - 40px);padding:22px;box-sizing:border-box;background:white;box-shadow:0 12px 40px #102d2526;border-radius:16px;margin-top:8px}.hbk-party:not([open]) .hbk-party-panel{display:none}.hbk-stay-search .hbk-stepper-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e0e5e1}.hbk-stepper-row small{display:block;font-size:12px;font-weight:400;margin-top:4px}.hbk-stepper{display:flex;align-items:center;background:#f1f3ef;border-radius:30px;padding:4px;flex-shrink:0}.hbk-stepper button{width:42px;height:42px;padding:0;border:0;border-radius:50%;background:white;font-size:26px;color:#173f34;cursor:pointer}.hbk-stay-search .hbk-stepper input{width:38px;height:42px;min-height:0;padding:0;border:0;background:transparent;text-align:center;appearance:textfield;-moz-appearance:textfield}.hbk-stepper input::-webkit-inner-spin-button{appearance:none}.hbk-panel-done{display:block;margin:20px 0 0 auto;padding:12px 26px;border:1px solid #173f34;border-radius:24px;background:#173f34;color:#fff;font-size:16px;cursor:pointer}
.hbk-date-dialog{width:420px;max-width:calc(100vw - 32px);max-height:90dvh;box-sizing:border-box;padding:24px;border:0;border-radius:20px;color:#173f34;background:white;overflow:auto;box-shadow:0 16px 70px #0003}.hbk-date-dialog::backdrop{background:#102d2566}.hbk-date-dialog header,.hbk-month-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}.hbk-date-dialog h3{margin:0;font-size:22px}.hbk-date-dialog header button,.hbk-month-nav button{border:0;background:#f2f4f0;color:#173f34;width:44px;height:44px;font-size:26px;border-radius:50%;cursor:pointer}.hbk-month-nav{margin:20px 0 12px}.hbk-weekdays,.hbk-month-days{display:grid;grid-template-columns:24px repeat(7,minmax(0,1fr));gap:3px;text-align:center}.hbk-weekdays{font-size:12px;margin-bottom:8px}.hbk-month-days button{height:44px;min-width:0;border:0;border-radius:8px;background:#edf3ef;color:#173f34;font:inherit;cursor:pointer;padding:0}.hbk-month-days button:disabled{background:transparent;color:#79837c;opacity:.5}.hbk-month-days .is-start{background:#173f34;color:white}.hbk-month-days .is-stay{background:#dce8de;opacity:1;color:#173f34}.hbk-calendar-note{font-size:12px;line-height:1.5;color:#57665d}.hbk-date-dialog [role=status]{font-size:14px;line-height:1.5;min-height:2em}.hbk-stay-dates{font-size:18px;font-weight:650;color:#173f34;margin:24px 0 8px;line-height:1.5}.hbk-stay-rule{padding:12px 16px;border-left:3px solid #1f5b64;background:#eef5f4;color:#24453e}.hbk-stay-lengths{display:flex;overflow-x:auto;gap:8px;margin:22px 0 12px;padding:4px 2px 10px}.hbk-stay-length{display:flex;flex:1 0 126px;flex-direction:column;gap:5px;border-bottom:3px solid transparent;padding:14px 10px;color:#24453e;text-decoration:none;border-radius:5px 5px 0 0}.hbk-stay-length strong{font-size:22px}.hbk-stay-length span{font-size:13px}.hbk-stay-length b{font-size:20px;white-space:nowrap}.hbk-stay-length.is-selected{border-bottom-color:#a85532;background:#f8eee6}.hbk-stay-length[aria-disabled]{color:#66716b}.hbk-stay-length:hover[href]{background:#eef5f4}.hbk-stay-price-note{font-size:14px;color:#43534b}.hbk-nearby{padding:20px;background:#eef3ef;border-radius:16px;margin:16px 0}.hbk-nearby-option{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 0;border-bottom:1px solid #ccd8cf;color:#173f34}
@media(max-width:600px){.hbk-stay-search form{grid-template-columns:minmax(0,1fr);gap:18px}.hbk-stay-search h2{font-size:clamp(24px,6vw,32px);line-height:1.2}.hbk-stay-search{padding-bottom:100px}.hbk-search-action{position:fixed;left:0;right:0;bottom:calc(env(safe-area-inset-bottom,0px) + 42px);z-index:40;padding:12px 20px;background:#ffffffed;box-shadow:0 -4px 20px #153c2510}.hbk-search-action .hbk-button{border-radius:30px}.hbk-party[open]::before{content:'';position:fixed;inset:0;background:#102d2566;z-index:99}.hbk-party-panel{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;max-height:85dvh;overflow:auto;border-radius:22px 22px 0 0;padding:24px 24px calc(24px + env(safe-area-inset-bottom,0px));margin:0}.hbk-date-dialog{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;max-width:none;margin:0;border-radius:22px 22px 0 0;padding:24px 24px calc(24px + env(safe-area-inset-bottom,0px))}.hbk-stay-dates{font-size:16px}.hbk-date-dialog .hbk-panel-done{width:100%}}

.hbk-edit-search>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;cursor:pointer;font-size:16px;list-style:none}.hbk-edit-search>summary .hbk-edit-label{text-decoration:underline;white-space:nowrap}.hbk-edit-search[open]>summary{margin-bottom:24px}.hbk-stay-search.has-results{padding-bottom:24px}.hbk-stay-search.has-results .hbk-search-action{position:static;padding:0;box-shadow:none}.hbk-date-reset{display:block;width:100%;min-height:44px;margin-top:16px;border:1px solid #abb6af;border-radius:8px;background:#f2f4f0;color:#173f34;font:inherit;padding:10px 16px;cursor:pointer}.hbk-card-bottom .hbk-detail-link{display:block;text-align:center;padding:12px;color:#173f34}.hbk-search-enhanced .hbk-nights{display:none!important}
.hbk-search-current{display:flex;flex-wrap:wrap;gap:4px 12px;min-width:0}.hbk-search-current [data-hbk-search-meta]{white-space:nowrap}.hbk-edit-search[open] [data-hbk-search-dates]{display:none}.hbk-date-open{overflow-wrap:normal;word-break:normal}.hbk-stay-search [data-hbk-stay-dates]{font-size:14px;font-weight:400}

/* Keep the chosen arrival visible while departure dates are selectable. */
.hbk-month-days button.is-start,.hbk-month-days button.is-start:disabled{background:#173f34;color:#fff;opacity:1;box-shadow:inset 0 0 0 2px #173f34}.hbk-date-dialog [data-date-done][hidden]{display:none}

.hbk-nearby{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:transparent;padding:0;margin:28px 0}.hbk-nearby h3{grid-column:1/-1;margin:0 0 4px}.hbk-nearby-option{display:flex;align-items:center;gap:16px;padding:18px;background:#fff;border:1px solid #d5dfd9;border-radius:12px;text-decoration:none}.hbk-nearby-option>span{display:grid;gap:6px}.hbk-nearby-option small{color:#57665d}.hbk-nearby-option strong{white-space:nowrap}.hbk-nearby-option:hover,.hbk-nearby-option:focus-visible{background:#edf3ef;border-color:#173f34}@media(max-width:700px){.hbk-nearby{grid-template-columns:1fr}.hbk-nearby-option{align-items:flex-start;flex-direction:column;gap:10px}}

.hbk-week-number{display:flex;align-items:center;justify-content:center;color:#68776e;font-size:11px;border-right:1px solid #e4e9e5}.hbk-month-days button.is-past{text-decoration:line-through;text-decoration-thickness:1px}.hbk-month-days button.is-today:not(.is-start){box-shadow:inset 0 0 0 1px #849b8d}



.hbk-month-days button.is-stay{background:#bddbc9;color:#103d2c;opacity:1}.hbk-month-days button.is-end,.hbk-month-days button.is-end:disabled{background:#173f34;color:#fff;opacity:1}

.hbk-date-retry{min-height:44px;padding:10px 20px;border:1px solid #173f34;border-radius:8px;background:#fff;color:#173f34;font:inherit;cursor:pointer;margin-right:16px}
@media(max-width:400px){.hbk-date-dialog{padding:20px 12px calc(20px + env(safe-area-inset-bottom,0px))}.hbk-date-dialog .hbk-week-number{display:none}.hbk-weekdays,.hbk-month-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}}

/* Reuse the apartment icons in the existing cards, without separate benefit panels. */
.hbk-card-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;list-style:none;margin:16px 0;padding:0;color:var(--hbk-muted);font-size:13px;line-height:1.4}
.hbk-card-features li{display:flex;align-items:center;gap:8px;min-width:0}.hbk-card-features svg{width:22px;height:22px;flex:none;color:#174e46;display:block}
.hbk-card-bottom a{min-height:44px;box-sizing:border-box}
.hbk-card:not(.is-period-result) .hbk-card-body{display:flex;flex-direction:column}.hbk-card:not(.is-period-result) .hbk-card-bottom{margin-top:auto;gap:8px}.hbk-card-bottom>.hbk-link{display:inline-flex;align-items:center;min-height:44px}
.hbk-card.is-period-result .hbk-card-features{grid-column:1;grid-row:5}.hbk-card.is-period-result .hbk-result-offer{grid-row:1/6}
@media(max-width:600px){:is(.hpe-home,.hbk-home,.hbk-browse) .hbk-stay-search{padding-bottom:24px}:is(.hpe-home,.hbk-home,.hbk-browse) .hbk-search-action{position:static;padding:0;background:none;box-shadow:none}:is(.hpe-home,.hbk-home,.hbk-browse) .hbk-search-action .hbk-button{border-radius:10px}}

/* Product browsing follows the search without an oversized section gap. */
.hpe-enabled .hpe-home .hbk-home-stays{margin-top:32px}
@media(max-width:760px){.hpe-home .hpe-photo img{height:200px}.hpe-home .hpe-hero{gap:18px;margin-bottom:22px}.hpe-enabled .hpe-home h1{font-size:36px;margin-bottom:18px}.hpe-home .hpe-actions{margin-top:18px}}

#eiendommer .hbk-card .hbk-card-copy { margin: 8px 0 6px; line-height: 1.45; align-self: start; }
/* Match the sections of neighbouring booking cards when descriptions wrap. */
@supports (grid-template-rows: subgrid) and selector(&) {
    @media screen and (min-width: 761px) {
        #eiendommer .hbk-property-grid:not(.hbk-period-results) > .hbk-card {
            display: grid;
            grid-row: span 8;
            grid-template-rows: subgrid;
            row-gap: 0;

            > .hbk-card-body {
                display: grid;
                grid-area: 2 / 1 / -1;
                grid-template: subgrid / minmax(0, 1fr);
                align-items: start;
                row-gap: 0;

                > .hbk-apartment-summary { grid-row: 4; }
                > .hbk-facts { grid-row: 5; }
                > .hbk-card-features { grid-row: 6; }
                > :is(.hbk-card-bottom, .hbk-result-offer) { grid-area: 7 / 1; }
            }
        }
    }
}

/* Calendar guidance sits directly below the dates in both booking forms. */
.hbk-arrival-info {
    margin: 12px 0 0;
    padding: 12px 16px;
    border-inline-start: 4px solid #367358;
    border-radius: 8px;
    background: #e8f2eb;
    color: #173f34;
}
.hbk-date-dialog .hbk-arrival-info [role=status] { min-height: 0; font-size: 15px; line-height: 1.45; }
.hbk-arrival-info strong { display: block; font-size: 17px; line-height: 1.35; }
.hbk-date-dialog .hbk-arrival-info p { margin: 4px 0 0; color: inherit; font: inherit; }
.hbk-arrival-info button {
    margin-top: 10px;
    min-height: 44px;
    padding: 8px 16px;
    border: 0;
    border-radius: 7px;
    background: #174736;
    color: #fff;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.hbk-arrival-info button:focus-visible, .hbk-month-days button:focus {
    outline: 3px solid #75471a;
    outline-offset: 2px;
}
.hbk-date-dialog [data-date-status]:empty, .hbk-date-dialog .hbk-arrival-info[hidden],
.hbk-arrival-info button[hidden] { display: none; }
.hbk-month-days button:not(:disabled):not(.is-start):not(.is-stay):not(.is-end) {
    background: #dcece1;
    color: #173f34;
    font-weight: 700;
}
@media (max-height: 740px) {
    .hbk-date-dialog { max-height: 97dvh; padding-block: 12px; }
    .hbk-date-dialog .hbk-month-nav { margin: 8px 0; }
    .hbk-date-dialog .hbk-calendar-note { margin: 8px 0 0; }
}

.hbk-stay-search .hbk-date-dialog header h3 {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 601px) {
    .hbk-stay-search .hbk-date-dialog {
        width: 580px;
        max-height: calc(100dvh - 24px);
        padding: clamp(16px, 3.5dvh, 32px);
    }
    .hbk-stay-search .hbk-date-dialog header h3 { font-size: 28px; }
    .hbk-date-dialog .hbk-month-nav { margin: clamp(8px, 1.6dvh, 16px) 0 12px; }
    .hbk-date-dialog [data-month-label] { font-size: 21px; }
    .hbk-date-dialog header button, .hbk-date-dialog .hbk-month-nav button {
        width: clamp(44px, 6.5dvh, 60px);
        height: clamp(44px, 6.5dvh, 60px);
    }
    .hbk-date-dialog .hbk-weekdays, .hbk-date-dialog .hbk-month-days {
        grid-template-columns: 32px repeat(7, minmax(0, 1fr));
        gap: 4px;
    }
    .hbk-date-dialog .hbk-weekdays { font-size: 15px; }
    .hbk-date-dialog .hbk-week-number { font-size: 13px; }
    .hbk-date-dialog .hbk-month-days button {
        height: clamp(44px, 6.7dvh, 60px);
        font-size: 20px;
        border-radius: 10px;
    }
    .hbk-date-dialog .hbk-arrival-info { margin-top: 16px; padding: 14px 20px; }
    .hbk-date-dialog .hbk-arrival-info strong { font-size: 21px; }
    .hbk-date-dialog .hbk-arrival-info [role=status] { font-size: 18px; }
    .hbk-date-dialog .hbk-calendar-note { font-size: 14px; }
}

@media (max-width: 600px) and (max-height: 610px) {
    .hbk-stay-search .hbk-date-dialog { max-height: 100dvh; }
    .hbk-date-dialog .hbk-month-nav { margin: 2px 0 4px; }
    .hbk-date-dialog .hbk-weekdays { margin-bottom: 4px; }
    .hbk-date-dialog .hbk-arrival-info { margin-top: 8px; }
}
