/* A dismissible comparison while a property and its rates are being chosen. */
body .ppbd-price-panel {
    box-sizing: border-box;
    position: fixed;
    z-index: 9995;
    right: 18px;
    bottom: 18px;
    width: min(390px, calc(100vw - 36px));
    min-width: 0;
    max-height: min(70vh, 430px);
    overflow: auto;
    margin: 0;
    padding: 16px;
    border: 1px solid #e2dcd7;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(31, 23, 20, 0.16);
    color: #251f1c;
    font-family: Poppins, sans-serif;
}

body .ppbd-price-panel,
body .ppbd-price-panel *,
body .ppbd-price-reopen {
    text-shadow: none !important;
}

body .ppbd-price-panel.is-collapsed {
    display: none !important;
}

body .ppbd-compare-host .ppbd-price-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-height: none;
    padding: 12px;
    border-radius: 2px;
    overflow: visible;
}

body .ppbd-price--home .ppbd-price-head {
    margin-bottom: 5px;
}

body .ppbd-price--home .ppbd-price-rows {
    display: grid;
    grid-template-columns: 1fr;
}

body .ppbd-price--home .ppbd-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    padding: 4px 8px;
}

body .ppbd-price--home .ppbd-price-row + .ppbd-price-row {
    border-top: 1px solid #e7e1dc;
    border-left: 0;
}

body .ppbd-price--home .ppbd-price-note {
    margin-top: 5px;
}

body .ppbd-price-reopen {
    position: fixed;
    z-index: 9995;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    box-sizing: border-box !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 7px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #4a3731 !important;
    box-shadow: 0 4px 16px rgba(31, 23, 20, 0.14) !important;
    color: #fff !important;
    cursor: pointer;
}

body .ppbd-price-reopen[hidden] { display: none !important; }

body .ppbd-price-reopen:hover,
body .ppbd-price-reopen:focus,
body .ppbd-price-reopen:active {
    border-radius: 5px !important;
    background: #5d453d !important;
    color: #fff !important;
}

body .ppbd-price-reopen:focus-visible,
body .ppbd-price-close:focus-visible {
    outline: 2px solid #4a3731;
    outline-offset: 3px;
}

body .ppbd-price-reopen svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .ppbd-compare-host .ppbd-price-reopen {
    position: relative;
    inset: auto;
    display: flex;
    margin-left: auto;
}

body .ppbd-price-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 11px;
}

body .ppbd-price-head-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

body .ppbd-price-close {
    display: inline-flex;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #4a3731 !important;
    color: #fff !important;
    font: 20px/1 Arial, sans-serif;
    cursor: pointer;
}

body .ppbd-price-close:hover,
body .ppbd-price-close:focus,
body .ppbd-price-close:active {
    border-radius: 5px !important;
    background: #4a3731 !important;
    color: #fff !important;
}

body .ppbd-price-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

body .ppbd-price-period {
    flex: none;
    color: #746e6a;
    font-size: 10px;
    font-weight: 550;
    line-height: 1.4;
    white-space: nowrap;
}

body .ppbd-price-rows {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e7e1dc;
    border-radius: 9px;
}

body .ppbd-price-row {
    display: grid;
    align-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 63px;
    padding: 9px 10px;
    background: #fff;
}

body .ppbd-price-row + .ppbd-price-row {
    border-left: 1px solid #e7e1dc;
}

body .ppbd-price-row.is-direct {
    background: #f1ece8;
}

body .ppbd-price-label {
    color: #4a3731;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
}

body .ppbd-price-amount {
    color: #332720;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

body .ppbd-price-note {
    margin: 10px 0 0;
    color: #655b55;
    font-size: 10px;
    line-height: 1.5;
}

body .ppbd-price-example {
    margin: 0 0 8px;
    color: #4a3731;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}

body .ppbd-price-coupon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 35px;
    margin: 10px 0 0;
    padding: 7px 12px;
    border: 1px solid #4a3731;
    border-radius: 2px !important;
    background: #4a3731;
    color: #fff;
    font: 700 12px/1.25 Poppins, sans-serif;
    cursor: pointer;
}

body .ppbd-price-coupon:hover,
body .ppbd-price-coupon.is-copied {
    border-radius: 2px !important;
    background: #fff;
    color: #4a3731;
}

body .ppbd-price-coupon:focus-visible {
    border-radius: 2px !important;
    outline: 2px solid #4a3731;
    outline-offset: 2px;
}

body .ppbd-price-copy-icon {
    position: relative;
    width: 16px;
    height: 18px;
    flex: 0 0 16px;
}

body .ppbd-price-copy-icon::before,
body .ppbd-price-copy-icon::after {
    position: absolute;
    width: 10px;
    height: 12px;
    border: 1px solid currentColor;
    content: '';
}

body .ppbd-price-copy-icon::before { left: 1px; top: 4px; }
body .ppbd-price-copy-icon::after { left: 5px; top: 0; background: #4a3731; }
body .ppbd-price-coupon:hover .ppbd-price-copy-icon::after,
body .ppbd-price-coupon.is-copied .ppbd-price-copy-icon::after { background: #fff; }

body .ppbd-price-coupon.is-copied .ppbd-price-copy-icon { display: none; }
body .ppbd-price-coupon.is-copied .ppbd-price-coupon-text { font-size: 11px; }

@media (max-width: 767px) {
    body .ppbd-compare-host .ppbd-price-panel {
        position: relative;
        inset: auto;
        width: 100%;
        max-height: min(43vh, 340px);
        overflow-y: auto;
        padding: 10px;
    }

    body .ppbd-price--home .ppbd-price-note {
        font-size: 9px;
    }
    body .ppbd-price-panel {
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: calc(var(--ppbd-dock-height, 96px) + 8px);
        left: max(12px, env(safe-area-inset-left, 0px));
        width: auto;
        max-height: min(56vh, 370px);
        padding: 13px;
    }

    body .ppbd-price--search {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    body .ppbd-price-reopen {
        right: max(12px, env(safe-area-inset-right, 0px));
        bottom: calc(var(--ppbd-dock-height, 96px) + 8px);
    }

    body .ppbd-price--search + .ppbd-price-reopen,
    body:has(.ppbd-price--search) > .ppbd-price-reopen {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    body:has(.pp-vbo-mobile-flow-bar.is-form-visible) :is(.ppbd-price-panel, .ppbd-price-reopen),
    body.ppbd-site-menu-mobile-open :is(.ppbd-price-panel, .ppbd-price-reopen) {
        display: none !important;
    }

    body .ppbd-price-head {
        align-items: flex-start;
        margin-bottom: 9px;
    }

    body .ppbd-price-title {
        font-size: 13px;
    }

    body .ppbd-price-period {
        font-size: 9px;
        text-align: right;
    }

    body .ppbd-price-row {
        min-height: 58px;
        padding: 8px 6px;
    }

    body .ppbd-price-label {
        font-size: 9px;
    }

    body .ppbd-price-amount {
        font-size: 11px;
    }

    body .ppbd-price-note {
        font-size: 9px;
    }

}

@media (max-width: 360px) {
    body .ppbd-price-rows {
        grid-template-columns: 1fr;
    }

    body .ppbd-price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 7px;
        min-height: 33px;
    }

    body .ppbd-price-row + .ppbd-price-row {
        border-top: 1px solid #e7e1dc;
        border-left: 0;
    }
}
