.dn-side-menu{
    position:fixed;
    inset:0;
    z-index:9000;
    visibility:hidden;
    pointer-events:none;
}

.dn-side-menu.is-open{
    visibility:visible;
    pointer-events:auto;
}

.dn-side-menu-backdrop{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    padding:0;
    border:0;
    background:rgba(15,23,42,.42);
    opacity:0;
    transition:opacity .22s ease;
    cursor:pointer;
}

.dn-side-menu.is-open .dn-side-menu-backdrop{
    opacity:1;
}

.dn-side-menu-panel{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:100%;
    padding-top:env(safe-area-inset-top);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:#fff;
    box-shadow:-12px 0 32px rgba(15,23,42,.16);
    transform:translateX(100%);
    transition:transform .24s cubic-bezier(.22,.8,.32,1);
}

.dn-side-menu.is-open .dn-side-menu-panel{
    transform:translateX(0);
}



.dn-side-menu-head{
    height:58px;
    min-height:58px;
    flex-shrink:0;
    padding:0 14px 0 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid #e8eaee;
}

.dn-side-menu-brand{
    font-size:20px;
    font-weight:900;
    letter-spacing:-.6px;
    color:#17191d;
}

.dn-side-menu-brand span{
    color:#1677ff;
}

.dn-side-menu-title{
    margin-top:3px;
    color:#747b86;
    font-size:12px;
    font-weight:700;
}

.dn-side-menu-close{
    width:42px;
    height:42px;
    flex:0 0 42px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:50%;
    background:transparent;
    color:#17191d;
    cursor:pointer;
}

.dn-side-menu-close:active{
    background:#f2f4f7;
}

.dn-side-menu-close svg{
    width:23px;
    height:23px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
}

.dn-side-menu-content{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    padding:16px 14px calc(28px + env(safe-area-inset-bottom));
}

.dn-side-rate-card{
    padding:17px 16px 15px;
    border:1px solid #dfe6ef;
    border-radius:20px;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
    box-shadow:0 8px 24px rgba(28,50,78,.06);
}

.dn-side-rate-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:15px;
}

.dn-side-rate-heading{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    font-size:15px;
    color:#172033;
}

.dn-side-rate-icon{
    width:27px;
    height:27px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 27px;
    border-radius:50%;
    background:#edf4ff;
    color:#2477e8;
}

.dn-side-rate-icon svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.dn-side-rate-date{
    flex:0 0 auto;
    color:#7d8999;
    font-size:13px;
    font-weight:700;
}

.dn-side-rate-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
}

.dn-side-rate-item{
    min-width:0;
    padding:11px 6px 10px;
    text-align:center;
    border-radius:14px;
    background:#ffffff;
}

.dn-side-rate-flag{
    display:block;
    font-size:19px;
    line-height:1;
}

.dn-side-rate-name{
    display:block;
    margin-top:7px;
    overflow:hidden;
    color:#65758a;
    font-size:13px;
    font-weight:750;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.dn-side-rate-item strong{
    display:block;
    margin-top:5px;
    color:#172033;
    font-size:17px;
    line-height:1.1;
    letter-spacing:-.3px;
}

.dn-side-rate-item small{
    display:block;
    margin-top:4px;
    color:#8a96a6;
    font-size:13px;
    line-height:1.1;
}

.dn-side-rate-source,
.dn-side-rate-notice,
.dn-side-rate-unavailable{
    color:#8793a2;
    font-size:13px;
    line-height:1.45;
}

.dn-side-rate-source{
    margin-top:12px;
}

.dn-side-rate-notice{
    margin-top:2px;
}

.dn-side-rate-unavailable{
    padding:8px 2px 2px;
}

.dn-side-villa-message{
    position:relative;
    min-height:172px;
    margin-top:14px;
    padding:22px 18px;
    overflow:hidden;
    border:1px solid #cfe4fb;
    border-radius:20px;
    background:linear-gradient(135deg,#f2f8ff 0%,#eaf5ff 55%,#dcefff 100%);
    box-shadow:0 8px 24px rgba(37,111,190,.08);
}

.dn-side-villa-message::before{
    content:"";
    position:absolute;
    width:150px;
    height:150px;
    right:-58px;
    top:-62px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
}

.dn-side-villa-copy{
    position:relative;
    z-index:2;
}

.dn-side-villa-copy p{
    margin:0;
    color:#405775;
    font-size:16px;
    font-weight:750;
    line-height:1.55;
    letter-spacing:-.2px;
}

.dn-side-villa-copy p + p{
    margin-top:14px;
}

.dn-side-villa-copy strong{
    display:block;
    color:#1268df;
    font-size:20px;
    font-weight:950;
    line-height:1.35;
}

.dn-side-villa-mark{
    position:absolute;
    z-index:1;
    right:15px;
    bottom:22px;
    width:86px;
    height:86px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.68);
    color:#2c86ee;
}

.dn-side-villa-mark svg{
    width:64px;
    height:64px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

body.dn-side-menu-open{
    overflow:hidden;
}

/* Travel Hub V2 photo backgrounds */
.dn-side-rate-card{
    background:#fff;
}

.dn-side-villa-message{
    border-color:rgba(255,255,255,.22);
    background:
        linear-gradient(90deg,rgba(5,28,54,.25) 0%,rgba(5,28,54,.10) 55%,rgba(5,28,54,.00) 100%),
        url('/images/travel-hub/villa-pool-bg.webp') center/cover no-repeat;
    box-shadow:0 8px 24px rgba(15,23,42,.16);
}

.dn-side-villa-message::before{
    display:none;
}

.dn-side-villa-copy p{
    color:#fff;
    text-shadow:0 1px 3px rgba(0,0,0,.38);
}

.dn-side-villa-copy strong{
    color:#ffe45c;
    text-shadow:0 1px 3px rgba(0,0,0,.42);
}

.dn-side-villa-mark{
    background:rgba(255,255,255,.86);
}

/* Travel Hub V3 compact reference-rate card */
.dn-side-rate-card{
    padding:12px 13px 10px;
    border-radius:17px;
}

.dn-side-rate-head{
    margin-bottom:8px;
}

.dn-side-rate-icon{
    width:24px;
    height:24px;
    flex-basis:24px;
}

.dn-side-rate-icon svg{
    width:15px;
    height:15px;
}

.dn-side-rate-grid{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.dn-side-rate-item{
    min-width:0;
    min-height:32px;
    padding:5px 8px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:7px;
    text-align:left;
    border-radius:10px;
}

.dn-side-rate-label{
    min-width:0;
    display:flex;
    align-items:center;
    gap:6px;
}

.dn-side-rate-flag{
    display:inline;
    flex:0 0 auto;
    font-size:16px;
    line-height:1;
}

.dn-side-rate-name{
    display:block;
    min-width:0;
    margin-top:0;
    font-size:13px;
}

.dn-side-rate-item strong{
    margin-top:0;
    font-size:15px;
    line-height:1;
    white-space:nowrap;
}

.dn-side-rate-item small{
    margin-top:0;
    font-size:13px;
    line-height:1;
    white-space:nowrap;
}

.dn-side-rate-source{
    display:inline;
    margin-top:0;
}

.dn-side-rate-source::after{
    content:" · ";
}

.dn-side-rate-notice{
    display:inline;
    margin-top:0;
}

.dn-side-rate-source,
.dn-side-rate-notice{
    font-size:13px;
    line-height:1.25;
}

/* Mobile side menu banner alignment */
.dn-side-menu-content > .dn-body-banner {
    padding-left: 0;
    padding-right: 0;
}
