/* VIRASAT ROYAL SERVICE EXPERIENCE */

html.vrs-modal-open,
body.vrs-modal-open {
    overflow: hidden !important;
}

.vrs-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(12,10,8,.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease,
                visibility .3s ease;
}

.vrs-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.vrs-modal {
    position: relative;
    width: min(100%, 1000px);
    max-height: calc(100dvh - 56px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 14px;
    border: 1px solid #b79a65;
    border-radius: 5px;
    background:
        linear-gradient(
            135deg,
            #241e16,
            #a38a5c 12%,
            #403323 25%,
            #79613d 50%,
            #30271b 75%,
            #a38a5c 90%,
            #241e16
        );
    box-shadow:
        0 0 0 3px #1a1611,
        0 0 0 5px #8a7047,
        0 0 0 8px #292118,
        0 30px 100px rgba(0,0,0,.65);
    transform: translateY(28px) scale(.96);
    transition: transform .48s
        cubic-bezier(.22,1,.36,1);
    color: #39291d;
    scrollbar-width: thin;
    scrollbar-color: #8a7047 #2b2118;
}

.vrs-overlay.is-open .vrs-modal {
    transform: translateY(0) scale(1);
}

.vrs-frame {
    position: relative;
    border: 5px double #79603a;
    padding: 7px;
    background: #352b1e;
}

.vrs-paper {
    position: relative;
    padding: clamp(22px,4vw,48px);
    border: 1px solid #a78b5c;
    background:
        radial-gradient(
            ellipse at center,
            #f5ead3 0%,
            #e9d9b9 60%,
            #cbb58d 100%
        );
    box-shadow:
        inset 0 0 40px #6f4e2726,
        inset 0 0 3px #795a34;
}

.vrs-paper::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid #a68c5d80;
    pointer-events: none;
}

.vrs-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    z-index: 4;
    color: #c7ac75;
    font-size: 34px;
    line-height: 42px;
    text-align: center;
    text-shadow: 1px 2px 2px #21190e;
    pointer-events: none;
}

.vrs-tl { top: 0; left: 0; }
.vrs-tr { top: 0; right: 0; }
.vrs-bl { bottom: 0; left: 0; }
.vrs-br { bottom: 0; right: 0; }

.vrs-close {
    position: absolute;
    top: 19px;
    right: 19px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border: 1px solid #ac9061;
    border-radius: 50%;
    background: #3c2c20;
    color: #f2e4ca;
    font-size: 24px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.vrs-brand {
    text-align: center;
    padding-bottom: 22px;
    border-bottom: 1px solid #a68c5d80;
    margin-bottom: 28px;
}

.vrs-brand img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #a68c5d;
    margin-bottom: 8px;
}

.vrs-brand strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 24px;
    letter-spacing: .12em;
    color: #493222;
}

.vrs-brand small {
    display: block;
    margin-top: 7px;
    color: #84653e;
    font-size: 12px;
    letter-spacing: .12em;
}

.vrs-content {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: start;
    gap: clamp(24px,4vw,48px);
}

.vrs-art {
    position: relative;
    min-height: 330px;
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 7px double #9c8052;
    background:
        radial-gradient(
            ellipse at 50% 20%,
            #8a7250,
            #453b2a 45%,
            #29241c 100%
        );
    box-shadow: 0 8px 22px #3a291f35;
}

.vrs-art::before {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid #bda06b;
    border-radius: 48% 48% 0 0;
}

.vrs-art::after {
    content: "";
    position: absolute;
    inset: 25px;
    border: 1px solid #bda06b55;
    border-radius: 48% 48% 0 0;
}

.vrs-art svg {
    width: 72%;
    height: auto;
    color: #d3b77d;
    filter: drop-shadow(0 5px 6px #0005);
}

.vrs-art-label {
    position: absolute;
    bottom: 32px;
    color: #d8bd88;
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: .2em;
}

.vrs-details {
    min-width: 0;
    text-align: left;
}

.vrs-chapter {
    color: #8b653d;
    font-size: 11px;
    letter-spacing: .18em;
    font-weight: 700;
    text-transform: uppercase;
}

.vrs-details h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(29px,4vw,48px);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 12px 0 18px;
    color: #38251a;
    text-transform: none;
}

.vrs-description {
    font-size: 15px;
    line-height: 1.75;
    color: #65503a;
    margin: 0 0 20px;
}

.vrs-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vrs-features li {
    position: relative;
    padding: 8px 0 8px 22px;
    border-bottom: 1px solid #a68c5d40;
    color: #493725;
    font-size: 14px;
    line-height: 1.5;
}

.vrs-features li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    color: #97713e;
}

.vrs-price {
    margin-top: 24px;
}

.vrs-price small {
    display: block;
    color: #84653e;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.vrs-price strong {
    display: block;
    font-family: Georgia, serif;
    color: #682e22;
    font-size: 42px;
    font-weight: 500;
    margin: 5px 0;
}

.vrs-price p {
    font-size: 12px;
    color: #79654b;
    margin: 6px 0 18px;
    line-height: 1.5;
}

.vrs-cta {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ae8b55;
    border-radius: 2px;
    background: linear-gradient(
        135deg,#683023,#3b1912
    );
    color: #f5e7cb;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease,
                transform .2s ease;
}

.vrs-cta:hover {
    background: #82432e;
    transform: translateY(-2px);
}

.vrs-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #a68c5d80;
}

.vrs-navigation button {
    padding: 10px 16px;
    border: 1px solid #9e8154;
    border-radius: 2px;
    background: transparent;
    color: #60452d;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.vrs-navigation button:hover {
    background: #b99b6326;
}

.vrs-counter {
    font-family: Georgia, serif;
    color: #84653e;
    font-size: 14px;
}

.vrs-modal button:focus-visible {
    outline: 2px solid #95602f;
    outline-offset: 4px;
}

.vrs-service-trigger {
    cursor: pointer;
}

@media (max-width: 700px) {
    .vrs-overlay {
        padding: 16px;
    }

    .vrs-modal {
        max-height: calc(100dvh - 32px);
        padding: 7px;
    }

    .vrs-frame {
        border-width: 3px;
        padding: 4px;
    }

    .vrs-paper {
        padding: 24px 18px;
    }

    .vrs-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vrs-art {
        min-height: 0;
        height: 180px;
        aspect-ratio: auto;
    }

    .vrs-art svg {
        width: 105px;
    }

    .vrs-art-label {
        bottom: 12px;
        font-size: 10px;
    }

    .vrs-details h2 {
        font-size: 32px;
    }

    .vrs-close {
        top: 12px;
        right: 12px;
    }

    .vrs-navigation button {
        padding: 9px 12px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vrs-overlay,
    .vrs-modal,
    .vrs-cta {
        transition: none !important;
        transform: none !important;
    }
}