@import url('/fonts/pretendard/pretendard.css');

.section-room-rate-drawer-01 {
    --room-rate-panel-width: min(786px, calc(100vw - 56px));

    width: 0;
    height: 0;
    margin: 0;
    color: #191919;
    font-family: var(--font-suit);
}

.section-room-rate-drawer-01-trigger {
    --room-rate-trigger-width: 56px;
    --room-rate-trigger-height: 56px;
    --room-rate-trigger-right: 56px;
    position: fixed;
    z-index: 79;
    top: 50%;
    right: 56px;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 50%;
    background: var(--room-rate-trigger-background, rgba(255, 255, 255, .5));
    color: #191919;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    -webkit-backdrop-filter: blur(10px) brightness(1.2);
    backdrop-filter: blur(10px) brightness(1.2);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.25;
    text-align: center;
    word-break: keep-all;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.section-room-rate-drawer-01-trigger:hover {
    background: var(--room-rate-trigger-hover-background, var(--room-rate-trigger-background, rgba(255, 255, 255, .88)));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.section-room-rate-drawer-01-trigger:active {
    transform: translateY(-50%) scale(.96);
}

.section-room-rate-drawer-01-trigger:focus-visible,
.section-room-rate-drawer-01-header button:focus-visible {
    outline: 2px solid #191919;
    outline-offset: 3px;
}

.section-room-rate-drawer-01-backdrop {
    position: fixed;
    z-index: 80;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .38);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
}

.section-room-rate-drawer-01-panel {
    position: fixed;
    z-index: 81;
    top: 0;
    right: 0;
    width: var(--room-rate-panel-width);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: -18px 0 46px rgba(0, 0, 0, .16);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    will-change: transform;
    transition: transform .3s ease-out, visibility 0s linear .3s;
}

.section-room-rate-drawer-01-drawer.is-open .section-room-rate-drawer-01-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.section-room-rate-drawer-01-drawer.is-open .section-room-rate-drawer-01-panel {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition-delay: 0s;
}

.section-room-rate-drawer-01-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: grid;
    min-height: 72px;
    padding: 0 72px;
    border-bottom: 1px solid #e8e8e8;
    place-items: center;
    background: rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(10px) brightness(1.2);
    backdrop-filter: blur(10px) brightness(1.2);
}

.section-room-rate-drawer-01-header h2 {
    width: 100%;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.section-room-rate-drawer-01-header button {
    position: absolute;
    top: 50%;
    left: 30px;
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    place-items: center;
    background: transparent;
    color: #191919;
    cursor: pointer;
    transform: translateY(-50%);
}

.section-room-rate-drawer-01-header button:hover {
    background: #f2f2f2;
}

.section-room-rate-drawer-01-header svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
}

.section-room-rate-drawer-01-body {
    min-height: calc(100% - 72px);
    padding: 48px 40px max(64px, env(safe-area-inset-bottom));
}

.section-room-rate-drawer-01-widget {
    width: 100%;
    min-height: 300px;
    overflow-x: auto;
    background: #fff;
}

.section-room-rate-drawer-01-widget > [data-pensionnara-status] {
    display: grid;
    place-items: center;
    min-height: 300px;
    margin: 0;
    padding: 28px;
    border: 1px solid #e2e2e2;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.section-room-rate-drawer-01-widget.is-error > [data-pensionnara-status] {
    color: #8b3a32;
    background: #fff8f7;
}

body.room-rate-drawer-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .section-room-rate-drawer-01 {
        --room-rate-panel-width: 100vw;
    }

    .section-room-rate-drawer-01-trigger {
        --room-rate-trigger-width: 40px;
        --room-rate-trigger-height: 40px;
        --room-rate-trigger-right: 38px;
        right: 38px;
        width: 40px;
        height: 40px;
        padding: 0 6px;
        font-size: 12px;
        letter-spacing: -.58px;
        line-height: 14px;
        font-weight: 400;
    }

    .section-room-rate-drawer-01-header {
        min-height: 64px;
        padding: 0 64px;
    }

    .section-room-rate-drawer-01-header button {
        left: 14px;
    }

    .section-room-rate-drawer-01-body {
        min-height: calc(100% - 64px);
        padding: 32px 24px max(48px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .section-room-rate-drawer-01-trigger {
        --room-rate-trigger-width: 32px;
        --room-rate-trigger-height: 45px;
        --room-rate-trigger-right: 15px;
        right: 15px;
        width: 32px;
        height: 45px;
        padding: 0 6px;
        border-radius: 16px;
        font-size: 12px;
        letter-spacing: -.58px;
        line-height: 14px;
        font-weight: 400;
    }

    .section-room-rate-drawer-01-header {
        padding: 0 60px;
    }

    .section-room-rate-drawer-01-header button {
        left: 10px;
    }

    .section-room-rate-drawer-01-body {
        padding-right: 16px;
        padding-left: 16px;
    }
}

.section-room-rate-drawer-01-trigger.has-custom-content {
    width: max-content;
    min-width: var(--room-rate-trigger-width);
    max-width: min(240px, calc(100vw - var(--room-rate-trigger-right) - 16px));
    height: auto;
    min-height: var(--room-rate-trigger-height);
    padding: 8px 12px;
    border-radius: 999px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.section-room-rate-drawer-01-trigger > span { min-width: 0; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .section-room-rate-drawer-01-trigger,
    .section-room-rate-drawer-01-backdrop,
    .section-room-rate-drawer-01-panel {
        transition-duration: .01ms;
    }
}
