/* VIRASAT - Heritage Mobile Navigation */

.vr-mobile-toggle,
.vr-mobile-overlay {
    display: none;
}

@media (max-width: 1024px) {

    .vr-mobile-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        padding: 12px 16px !important;
        box-sizing: border-box !important;
        background: #1d1913 !important;
        border: 1px solid rgba(190, 157, 100, .35) !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 28px rgba(0,0,0,.22);
    }

    .vr-mobile-original {
        display: none !important;
    }

    .vr-mobile-header .vr-mobile-brand {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 1;
        min-width: 0;
        margin: 0 !important;
    }

    .vr-mobile-brand img {
        width: 36px !important;
        height: 36px !important;
        object-fit: contain;
    }

    .vr-mobile-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        border: 1px solid rgba(201,170,116,.45);
        border-radius: 10px;
        background: rgba(201,170,116,.04);
        cursor: pointer;
        padding: 10px;
    }

    .vr-mobile-toggle span {
        display: block;
        width: 23px;
        height: 1.5px;
        background: #dfc394;
        border-radius: 2px;
    }

    .vr-mobile-toggle span:nth-child(2) {
        width: 17px;
        align-self: flex-start;
    }

    .vr-mobile-overlay {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 999999;
        justify-content: flex-end;
        background: rgba(10,8,5,.68);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease,
                    visibility .25s ease;
    }

    .vr-mobile-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .vr-mobile-panel {
        position: relative;
        width: min(100%, 440px);
        height: 100%;
        height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-sizing: border-box;
        padding: 28px 24px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
        color: #f0e4cd;
        background:
            radial-gradient(
                ellipse at top right,
                rgba(139,104,56,.16),
                transparent 55%
            ),
            #1c1812;
        border-left: 1px solid #79613d;
        box-shadow: -15px 0 50px rgba(0,0,0,.3);
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.22,1,.36,1);
    }

    .vr-mobile-overlay.is-open .vr-mobile-panel {
        transform: translateX(0);
    }

    .vr-mobile-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 22px;
        border-bottom: 1px solid #665437;
    }

    .vr-mobile-wordmark {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 30px;
        letter-spacing: -.5px;
        color: #f0e4cd;
    }

    .vr-mobile-close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid #79613d;
        border-radius: 50%;
        color: #dfc394;
        background: transparent;
        font-size: 27px;
        cursor: pointer;
    }

    .vr-mobile-caption {
        margin: 26px 0 12px;
        color: #bca174;
        font-size: 10px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
    }

    .vr-mobile-links {
        display: flex;
        flex-direction: column;
    }

    .vr-mobile-links a {
        display: grid !important;
        grid-template-columns: 30px 1fr 24px;
        align-items: center;
        gap: 10px;
        padding: 17px 0 !important;
        color: #eee2cb !important;
        border-bottom: 1px solid rgba(190,157,100,.18);
        text-decoration: none !important;
        background: transparent !important;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: clamp(23px, 6vw, 30px);
        line-height: 1.3;
    }

    .vr-mobile-number {
        font-family: Arial, sans-serif;
        font-size: 10px;
        letter-spacing: 1px;
        color: #bca174;
    }

    .vr-mobile-arrow {
        font-size: 16px;
        color: #bca174;
        text-align: right;
    }

    .vr-mobile-book {
        display: block;
        width: 100%;
        margin-top: 28px;
        padding: 16px;
        border: 1px solid #c6ab79;
        border-radius: 8px;
        background: #eee1c7;
        color: #302318;
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    .vr-mobile-signature {
        margin-top: 26px;
        text-align: center;
        color: #c6ab79;
        font-size: 15px;
        line-height: 1.8;
    }

    .vr-mobile-signature span {
        display: block;
        font-size: 24px;
        margin-bottom: 6px;
    }

    .vr-mobile-toggle:focus-visible,
    .vr-mobile-panel a:focus-visible,
    .vr-mobile-panel button:focus-visible {
        outline: 2px solid #dfc394;
        outline-offset: 4px;
    }
}

@media (max-width: 360px) {
    .vr-mobile-header {
        padding: 9px 12px !important;
    }

    .vr-mobile-panel {
        padding: 20px;
    }

    .vr-mobile-links a {
        padding: 13px 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vr-mobile-panel,
    .vr-mobile-overlay {
        transition: none !important;
    }
}
