:root {
    --topbar-height: 34px;
    --header-height: 104px;
    --rm-cream: #fbf4ea;
    --rm-cream-soft: #fffaf3;
    --rm-ink: #22170f;
    --rm-muted: #6d6258;
    --rm-gold: #c9934f;
    --rm-gold-deep: #9f6b2f;
    --rm-gold-soft: #f1dfbf;
    --rm-dark: #2b2b35;
    --rm-red: #ff4d61;
}

body {
    padding-top: calc(var(--topbar-height) + var(--header-height));
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    background: #050505;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 3000;
}

.topbar-wrap {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .55px;
    line-height: 1;
}

.rm-news-ticker {
    position: relative;
    white-space: nowrap;
}

.rm-news-track {
    width: max-content;
    min-width: 200%;
    height: 100%;
    display: flex;
    align-items: center;
    animation: rmNewsTicker 24s linear infinite;
    will-change: transform;
}

.rm-news-item {
    width: 50%;
    min-width: 50vw;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 42px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .65px;
    text-transform: none;
}

.rm-news-item i {
    color: #f0c681;
    font-size: 11px;
}

.rm-news-ticker:hover .rm-news-track {
    animation-play-state: paused;
}

@keyframes rmNewsTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .rm-news-track { animation: none; width: 100%; min-width: 0; }
    .rm-news-item { width: 100%; min-width: 0; }
    .rm-news-item[aria-hidden="true"] { display: none; }
}

.mobile-menu-overlay,
.mobile-sidebar,
.mobile-sidebar.active,
.mobile-menu-btn {
    display: none !important;
}

.site-header.rm-main-header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2990;
    background:
        radial-gradient(circle at 16% 12%, rgba(226, 196, 141, .28), transparent 34%),
        linear-gradient(180deg, #fffaf3 0%, #f7efe2 100%);
    border-bottom: 1px solid rgba(190, 139, 71, .28);
    box-shadow: 0 14px 34px rgba(77, 43, 15, .10);
    backdrop-filter: blur(16px);
}

.site-header.rm-main-header.scrolled {
    top: var(--topbar-height);
    background:
        radial-gradient(circle at 16% 12%, rgba(226, 196, 141, .22), transparent 34%),
        linear-gradient(180deg, rgba(255, 250, 243, .98), rgba(247, 239, 226, .98));
    box-shadow: 0 16px 42px rgba(77, 43, 15, .13);
}

.rm-header-row {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr) minmax(160px, 260px);
    align-items: center;
    gap: clamp(14px, 2vw, 32px);
}

.rm-header-brand-wrap { min-width: 0; }

.rm-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--rm-ink);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 0;
}

.rm-brand-logo {
    width: 86px;
    height: 86px;
    object-fit: contain;
    display: block;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    filter: drop-shadow(0 10px 18px rgba(77, 43, 15, .11));
}

.rm-brand-name {
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(31px, 2.45vw, 46px);
    font-weight: 600;
    letter-spacing: .3px;
    color: #211810;
    line-height: .92;
    text-transform: none;
}

.rm-desktop-nav { min-width: 0; justify-self: center; width: 100%; }
.rm-desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.1vw, 40px);
    flex-wrap: nowrap;
}

.rm-desktop-nav li { position: relative; }

.rm-nav-link,
.rm-live-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 0 8px;
    margin: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2f293c;
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(18px, 1.05vw, 22px);
    font-weight: 400;
    letter-spacing: .25px;
    line-height: 1.1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color .22s ease, transform .22s ease;
}

.rm-nav-link::after,
.rm-live-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--rm-gold-deep);
    transition: width .25s ease;
}

.rm-nav-link:hover,
.rm-nav-link.active,
.rm-live-btn:hover,
.rm-live-btn.active,
.rm-more-nav.active .rm-more-btn,
.rm-more-nav.is-current .rm-more-btn {
    color: var(--rm-gold-deep);
    transform: translateY(-1px);
}

.rm-nav-link:hover::after,
.rm-nav-link.active::after,
.rm-live-btn:hover::after,
.rm-live-btn.active::after,
.rm-more-nav.active .rm-more-btn::after,
.rm-more-nav.is-current .rm-more-btn::after {
    width: 100%;
}

.rm-more-btn i { font-size: 11px; margin-top: 2px; }
.rm-more-nav { padding: 31px 0; margin: -31px 0; }
.rm-more-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 258px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(202, 164, 105, .55);
    background: rgba(255, 252, 247, .98);
    box-shadow: 0 24px 58px rgba(55, 32, 13, .18);
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 3120;
}
.rm-more-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255, 252, 247, .98);
    border-left: 1px solid rgba(202, 164, 105, .55);
    border-top: 1px solid rgba(202, 164, 105, .55);
    transform: translateX(-50%) rotate(45deg);
}
.rm-more-nav:hover .rm-more-panel,
.rm-more-nav:focus-within .rm-more-panel,
.rm-more-nav.active .rm-more-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.rm-more-panel a {
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    color: #2f293c;
    text-decoration: none;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .18px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rm-more-panel a:hover,
.rm-more-panel a.active {
    background: #fff2dd;
    color: var(--rm-gold-deep);
    transform: translateX(3px);
}

.header-sip-count {
    min-width: 16px;
    height: 16px;
    padding: 0 5px;
    border-radius: 99px;
    background: #ffedf0;
    color: #d72b42;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    font-family: Arial, sans-serif;
}
.header-sip-count.is-zero { display: none; }

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rm-red);
    display: inline-block;
    flex: 0 0 auto;
    box-shadow: 0 0 0 0 rgba(255, 77, 97, .45);
    animation: rmLivePulse 1.2s ease-in-out infinite;
}
.live-dot-lg { width: 11px; height: 11px; }
@keyframes rmLivePulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 97, .45); }
    50% { opacity: .72; box-shadow: 0 0 0 8px rgba(255, 77, 97, 0); }
}

.has-live-dropdown { padding: 31px 0; margin: -31px 0; }
.live-mini-dropdown,
.rm-account-panel,
.mobile-live-dropdown {
    font-family: Montserrat, Arial, sans-serif;
}

.live-mini-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 304px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(219, 198, 164, .9);
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 52px rgba(44, 29, 13, .18);
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 3100;
}

.live-mini-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,.96);
    border-left: 1px solid rgba(219, 198, 164, .9);
    border-top: 1px solid rgba(219, 198, 164, .9);
    transform: translateX(-50%) rotate(45deg);
}

.has-live-dropdown.active .live-mini-dropdown,
.has-live-dropdown:hover .live-mini-dropdown,
.has-live-dropdown:focus-within .live-mini-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.live-mini-head,
.mobile-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
}
.live-mini-title,
.mobile-live-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #202027;
    font-size: 15px;
    font-weight: 900;
}
.live-mini-status,
.mobile-live-status {
    min-height: 24px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e8f8ed;
    color: #209354;
    font-size: 10px;
    font-weight: 900;
}
.live-mini-list,
.mobile-live-list { display: grid; gap: 16px; }
.live-mini-row,
.mobile-live-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid #eadfce;
}
.live-mini-metal,
.mobile-live-metal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.live-mini-icon,
.mobile-live-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0e2c7;
    color: #6b4d24;
    flex: 0 0 auto;
}
.live-mini-name,
.mobile-live-metal span:last-child {
    display: grid;
    gap: 1px;
    color: #1e1e26;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .3px;
}
.live-mini-name small,
.mobile-live-metal small {
    display: block;
    color: #1e1e26;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px;
}
.live-mini-value-wrap,
.mobile-live-value-wrap { text-align: right; flex-shrink: 0; }
.live-mini-value-wrap strong,
.mobile-live-value-wrap strong {
    display: block;
    color: #171720;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.45px;
    font-variant-numeric: tabular-nums lining-nums;
}
.live-mini-value-wrap small,
.mobile-live-value-wrap small {
    color: #6f6a63;
    font-size: 10px;
    font-weight: 600;
}
.live-same-rate-alert {
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #ffb9b9;
    background: #fff1ef;
    color: #f00000;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    animation: rmSameRateBlink 1.05s ease-in-out infinite;
}

@keyframes rmSameRateBlink {
    0%, 100% {
        opacity: 1;
        filter: saturate(1);
    }
    50% {
        opacity: 0.42;
        filter: saturate(1.35);
    }
}
.live-mini-foot { margin-top: 14px; display: grid; gap: 8px; }
.mobile-live-foot { margin-top: 14px; }
.sip-book-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 13px;
    background: #2c2c38;
    color: #fff !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sip-book-btn:hover { background: #20202a; transform: translateY(-1px); box-shadow: 0 13px 25px rgba(32,32,42,.18); }

.rm-mobile-quick-nav { display: none; }

.rm-header-actions-group {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
    min-width: 0;
}
.rm-header-review-action {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid rgba(199, 151, 77, .44);
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    color: #24190f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(67, 39, 12, .10), inset 0 0 0 1px rgba(255,255,255,.54);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rm-header-review-action:hover,
.rm-header-review-action:focus-visible {
    transform: translateY(-1px);
    border-color: #c9934f;
    background: #fffaf1;
    box-shadow: 0 18px 38px rgba(67, 39, 12, .15), inset 0 0 0 1px rgba(255,255,255,.7);
    outline: none;
}
.rm-header-review-circle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(171, 119, 48, .32);
    background: linear-gradient(135deg, #fff1d4, #e8c98e);
    display: inline-grid;
    place-items: center;
    overflow: visible;
}
.rm-header-review-letter {
    font: 900 18px/1 Arial, sans-serif;
    color: #4285f4;
}
.rm-header-review-star {
    position: absolute;
    right: -4px;
    bottom: -3px;
    width: 19px;
    height: 19px;
    padding: 0;
    border: 2px solid #fffaf1;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffc928 0%, #f4b400 58%, #de9200 100%);
    color: #fff;
    display: grid;
    place-items: center;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(111, 72, 12, .28), inset 0 1px 1px rgba(255,255,255,.48);
    transform: rotate(-5deg);
    overflow: hidden;
}
.rm-header-review-star::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.36);
    pointer-events: none;
}
.rm-header-review-star svg {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    display: block;
    overflow: visible;
    transform: rotate(5deg);
    filter: drop-shadow(0 1px 1px rgba(118, 72, 0, .18));
}
.rm-header-review-star path {
    fill: #fff;
    stroke: #fff;
    stroke-width: .45;
    stroke-linejoin: round;
}
.rm-account-wrap { position: relative; display: flex; justify-content: flex-end; }
.rm-account-btn {
    border: 1px solid rgba(199, 151, 77, .44);
    background: rgba(255,255,255,.74);
    color: #24190f;
    border-radius: 999px;
    min-height: 58px;
    padding: 8px 16px 8px 9px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(67, 39, 12, .10), inset 0 0 0 1px rgba(255,255,255,.54);
    font-family: "Times New Roman", Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rm-account-btn:hover,
.rm-account-wrap.active .rm-account-btn {
    transform: translateY(-1px);
    border-color: #c9934f;
    background: #fffaf1;
    box-shadow: 0 18px 38px rgba(67, 39, 12, .15), inset 0 0 0 1px rgba(255,255,255,.7);
}
.rm-account-icon,
.header-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff1d4, #e8c98e);
    border: 1px solid rgba(171, 119, 48, .32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6d4816;
    overflow: hidden;
    flex: 0 0 auto;
}
.header-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-account-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: .18px; }
.rm-account-chev { font-size: 10px; color: #8b7965; }

.rm-account-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 320px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(207, 165, 100, .58);
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 26px 64px rgba(48, 28, 10, .20);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 3110;
}
.rm-account-panel::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 32px;
    width: 16px;
    height: 16px;
    background: rgba(255, 253, 248, .98);
    border-left: 1px solid rgba(207, 165, 100, .58);
    border-top: 1px solid rgba(207, 165, 100, .58);
    transform: rotate(45deg);
}
.rm-account-wrap.active .rm-account-panel,
.rm-account-wrap:hover .rm-account-panel,
.rm-account-wrap:focus-within .rm-account-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.rm-account-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff4df, #fffaf3);
    border: 1px solid #f0dec0;
}
.rm-account-head strong { display: block; color: #18151a; font-size: 16px; line-height: 1.2; font-family: "Times New Roman", Georgia, serif; }
.rm-account-head small { display: block; color: #7b7169; margin-top: 3px; font-size: 11px; font-family: Arial, sans-serif; }
.rm-account-panel a {
    min-height: 43px;
    padding: 10px 11px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #22170f;
    text-decoration: none;
    font-family: "Times New Roman", Georgia, serif;
    font-weight: 500;
    font-size: 16px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.rm-account-panel a:hover { background: #fff4e1; color: #9a642a; transform: translateX(2px); }
.rm-account-panel a i { width: 18px; text-align: center; color: #9a642a; font-size: 14px; }
.rm-account-panel a span { flex: 1; }
.rm-account-panel a b {
    min-width: 20px;
    height: 20px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22222d;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
}
.rm-account-panel .rm-logout-link { color: #c62828; }
.rm-account-panel .rm-logout-link i { color: #c62828; }
.rm-account-guest { padding: 4px 4px 12px; }
.rm-account-guest strong { display: block; color: #18151a; font-size: 21px; margin-bottom: 6px; font-family: "Times New Roman", Georgia, serif; }
.rm-account-guest p { color: #71685f; font-size: 13px; line-height: 1.45; margin: 0; font-family: Arial, sans-serif; }
.rm-auth-action { justify-content: center; margin-top: 8px; border: 1px solid #ead9bd; }
.rm-auth-action.rm-auth-primary { background: #2c2c38; color: #fff; border-color: #2c2c38; }
.rm-auth-action.rm-auth-primary i { color: #fff; }
.rm-auth-action.rm-auth-primary:hover { background: #20202a; color: #fff; }

.mobile-live-dropdown { display: none; }

@media (max-width: 1450px) {
    .rm-header-row { grid-template-columns: minmax(190px, 270px) minmax(0, 1fr) minmax(135px, 220px); gap: 16px; }
    .rm-desktop-nav ul { gap: 18px; }
    .rm-nav-link, .rm-live-btn { font-size: 17px; }
    .rm-brand-logo { width: 74px; height: 74px; }
    .rm-brand-name { font-size: 34px; }
    .rm-account-label { display: none; }
    .rm-account-btn { padding-right: 12px; }
    .rm-header-actions-group { gap: 8px; }
}

@media (max-width: 1180px) {
    :root { --header-height: 92px; }
    .rm-desktop-nav { display: none; }
    .rm-header-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
    .rm-header-review-action { display: none; }
    .rm-header-actions-group { gap: 0; }
    .rm-mobile-quick-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        min-width: 0;
    }
    .rm-mobile-link {
        border: 0;
        background: transparent;
        padding: 0 0 6px;
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #2f293c;
        font-family: "Times New Roman", Georgia, serif;
        font-size: 15px;
        font-weight: 400;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }
    .rm-mobile-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background: var(--rm-gold);
        transition: width .22s ease;
    }
    .rm-mobile-link:hover::after,
    .rm-mobile-link.active::after { width: 100%; }
    .mobile-live-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 16px;
        width: min(304px, calc(100vw - 32px));
        padding: 16px 14px 14px;
        border-radius: 18px;
        border: 1px solid rgba(219, 198, 164, .9);
        background: rgba(255,255,255,.97);
        box-shadow: 0 22px 52px rgba(44, 29, 13, .18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
        z-index: 3100;
    }
    .mobile-live-dropdown.active {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    :root { --topbar-height: 30px; --header-height: 78px; }
    .topbar-wrap { gap: 18px; overflow-x: auto; justify-content: flex-start; padding: 0 12px; font-size: 10px; scrollbar-width: none; }
    .topbar-wrap::-webkit-scrollbar { display: none; }
    .rm-header-row { grid-template-columns: auto 1fr auto; gap: 8px; width: min(98%, 1800px); }
    .rm-brand { gap: 8px; }
    .rm-brand-logo { width: 52px; height: 52px; }
    .rm-brand-name { font-size: 26px; }
    .rm-mobile-quick-nav { gap: 9px; justify-content: flex-end; overflow: visible; }
    .rm-mobile-link { font-size: 11px; letter-spacing: -.05px; }
    .live-dot { width: 8px; height: 8px; }
    .rm-account-btn { min-height: 46px; padding: 5px 9px 5px 6px; gap: 7px; }
    .rm-account-icon, .header-user-avatar { width: 34px; height: 34px; }
    .rm-account-chev { display: none; }
    .rm-account-panel { right: -4px; width: min(305px, calc(100vw - 20px)); }
}

@media (max-width: 480px) {
    .rm-brand-name { display: none; }
    .rm-brand-logo { width: 56px; height: 56px; }
    .rm-mobile-quick-nav { gap: 10px; }
    .rm-mobile-link:nth-child(3) { display: none; }
    .mobile-live-dropdown { right: 8px; width: calc(100vw - 16px); }
}

/* =========================
   FINAL HEADER MOBILE + ACCOUNT UPDATE
========================= */
.topbar {
    transition: transform .28s ease, opacity .22s ease;
}
.topbar.hide-topbar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.site-header.rm-main-header.scrolled {
    top: 0;
    border-bottom-color: rgba(199, 151, 77, .20);
}
.rm-brand-name {
    position: relative;
    padding-bottom: 4px;
    font-weight: 700;
    letter-spacing: .6px;
    background: linear-gradient(90deg, #2a1a0e 0%, #9b6428 48%, #2a1a0e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 18px rgba(154, 100, 40, .12);
}
.rm-brand-name::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 6px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,147,79,.7), transparent);
}
.rm-account-panel {
    background:
        radial-gradient(circle at top left, rgba(238, 203, 143, .24), transparent 42%),
        rgba(255, 252, 246, .99);
}
.rm-account-panel a {
    border: 1px solid transparent;
}
.rm-account-panel a:hover {
    border-color: rgba(201, 147, 79, .22);
    background: linear-gradient(135deg, #fff4e1, #fffaf3);
}
.rm-account-guest {
    padding: 10px 10px 15px;
    margin-bottom: 10px;
    border-radius: 18px;
    border: 1px solid #f1ddbc;
    background: linear-gradient(135deg, #fff8eb, #fffdf9);
}
.rm-account-guest strong {
    font-size: 24px;
    letter-spacing: .2px;
}
.rm-account-guest p {
    font-size: 13.5px;
    color: #5f544a;
}
.rm-auth-action {
    min-height: 48px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(47, 44, 58, .08);
}
.rm-auth-action.rm-auth-primary {
    background: linear-gradient(135deg, #2d2a38, #1f1d29);
}
.rm-auth-action:not(.rm-auth-primary) {
    background: #fff;
}
.rm-mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(199, 151, 77, .42);
    border-radius: 50%;
    background: rgba(255,255,255,.78);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 13px 26px rgba(67, 39, 12, .10);
}
.rm-mobile-menu-button span {
    width: 17px;
    height: 1.5px;
    border-radius: 99px;
    background: #6d4816;
    transition: .22s ease;
}
.rm-mobile-menu-button.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.rm-mobile-menu-button.active span:nth-child(2) { opacity: 0; }
.rm-mobile-menu-button.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 10, 4, .46);
    z-index: 3200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    backdrop-filter: blur(3px);
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.rm-mobile-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(355px, 88vw);
    height: 100vh;
    padding: 22px 18px;
    background:
        radial-gradient(circle at top left, rgba(232, 196, 132, .32), transparent 35%),
        linear-gradient(180deg, #fffaf2 0%, #f8ecda 100%);
    border-left: 1px solid rgba(201,147,79,.35);
    box-shadow: -24px 0 60px rgba(45, 26, 8, .22);
    z-index: 3210;
    transform: translateX(105%);
    transition: transform .28s ease;
    overflow-y: auto;
}
.rm-mobile-side-panel.active { transform: translateX(0); }
.rm-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 12px 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(201,147,79,.24);
}
.rm-mobile-panel-head strong {
    display: block;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 30px;
    color: #21170f;
    line-height: 1;
}
.rm-mobile-panel-head small {
    display: block;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #847365;
    text-transform: uppercase;
    letter-spacing: .9px;
}
.rm-mobile-panel-close {
    width: 40px;
    height: 40px;
    border: 1px solid #ecd9b9;
    border-radius: 50%;
    background: #fff;
    color: #7c511c;
    cursor: pointer;
}
.rm-mobile-panel-nav {
    display: grid;
    gap: 9px;
}
.rm-mobile-panel-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 15px;
    border: 1px solid rgba(235, 214, 181, .9);
    background: rgba(255,255,255,.62);
    color: #231810;
    text-decoration: none;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .25px;
}
.rm-mobile-panel-nav a.active,
.rm-mobile-panel-nav a:hover {
    background: #fff5e5;
    color: #9b6428;
    border-color: rgba(201,147,79,.38);
}
.rm-mobile-panel-nav a i {
    width: 19px;
    color: #9b6428;
    text-align: center;
}
.rm-mobile-panel-nav a b {
    min-width: 21px;
    height: 21px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2c2c38;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
}
.rm-mobile-panel-nav a b.is-zero { display: none; }
.rm-account-panel a b.is-zero { display: none; }

@media (max-width: 1180px) {
    .rm-header-row {
        grid-template-columns: minmax(112px, auto) minmax(0, 1fr) auto auto;
    }
    .rm-mobile-quick-nav {
        justify-self: center;
        justify-content: center;
        text-align: center;
    }
    .rm-mobile-menu-button {
        display: inline-flex;
        justify-self: end;
    }
    .rm-account-panel {
        display: none !important;
    }
    .rm-account-btn {
        cursor: pointer;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: calc(var(--topbar-height) + var(--header-height));
    }
    .topbar-wrap {
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    .topbar-wrap a {
        flex: 0 0 auto;
    }
    .rm-header-row {
        grid-template-columns: minmax(112px, auto) minmax(0, 1fr) 42px 42px;
        gap: 7px;
    }
    .rm-brand {
        gap: 7px;
        min-width: 0;
    }
    .rm-brand-logo {
        width: 48px;
        height: 48px;
    }
    .rm-brand-name {
        display: inline-block !important;
        font-size: 20px;
        max-width: 86px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        letter-spacing: .15px;
    }
    .rm-mobile-quick-nav {
        gap: 9px;
        justify-self: center;
        justify-content: center;
    }
    .rm-mobile-link {
        font-size: 10.5px;
        letter-spacing: .15px;
    }
    .rm-account-wrap {
        justify-self: end;
    }
    .rm-account-btn {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 3px;
        justify-content: center;
    }
    .rm-account-icon,
    .header-user-avatar {
        width: 34px;
        height: 34px;
    }
    .rm-account-label,
    .rm-account-chev {
        display: none !important;
    }
    .rm-mobile-menu-button {
        width: 42px;
        height: 42px;
    }
    .mobile-live-dropdown {
        left: 8px;
        right: 8px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .rm-brand-name {
        display: inline-block !important;
        font-size: 18px;
        max-width: 76px;
    }
    .rm-brand-logo {
        width: 46px;
        height: 46px;
    }
    .rm-header-row {
        grid-template-columns: minmax(104px, auto) minmax(0, 1fr) 40px 40px;
        gap: 6px;
    }
    .rm-mobile-quick-nav {
        gap: 7px;
    }
    .rm-mobile-link {
        font-size: 9.5px;
    }
    .rm-account-btn,
    .rm-mobile-menu-button {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }
    .rm-account-icon,
    .header-user-avatar {
        width: 32px;
        height: 32px;
    }
}
.mobile-menu-overlay { display: block !important; }
.rm-mobile-side-panel { display: block !important; }
@media (max-width: 1180px) { .rm-mobile-menu-button { display: inline-flex !important; } }

/* Phase 1B: mobile header click/modal safety */
.rm-mobile-menu-button,.rm-account-wrap,.rm-mobile-quick-nav,.mobile-live-dropdown{position:relative;z-index:3300}.rm-mobile-menu-button{pointer-events:auto!important}.rm-mobile-side-panel,.mobile-menu-overlay{pointer-events:auto}@media(max-width:1180px){.rm-account-panel{display:block!important;position:absolute!important;right:0!important;top:calc(100% + 12px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:3400!important}.rm-account-wrap.active .rm-account-panel{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important}.mobile-live-dropdown.active{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:3390!important}.rm-mobile-side-panel{display:block!important;z-index:3500!important}.mobile-menu-overlay{display:block!important;z-index:3490!important}.rm-mobile-menu-button{display:inline-flex!important}}@media(max-width:767px){.rm-account-panel{position:fixed!important;right:10px!important;top:calc(var(--topbar-height) + var(--header-height) + 8px)!important;width:min(330px,calc(100vw - 20px))!important}.site-header.rm-main-header.scrolled .rm-account-panel{top:calc(var(--header-height) + 8px)!important}.mobile-live-dropdown{position:fixed!important;left:10px!important;right:10px!important;top:calc(var(--topbar-height) + var(--header-height) + 8px)!important;width:auto!important}.site-header.rm-main-header.scrolled .mobile-live-dropdown{top:calc(var(--header-height) + 8px)!important}}

/* Phase 1C: mobile header click safety and center link spacing */
@media(max-width:1180px){
  #rmMobileMenuButton{position:relative!important;z-index:3700!important;pointer-events:auto!important;touch-action:manipulation!important;flex:0 0 auto!important}
  #mobileLiveTrigger,#rmAccountToggle{pointer-events:auto!important;touch-action:manipulation!important;position:relative!important;z-index:3650!important}
  .rm-mobile-quick-nav{gap:clamp(14px,4vw,28px)!important;pointer-events:auto!important;padding:0 8px!important}
  .rm-mobile-link{min-height:42px!important;align-items:center!important;padding:0 2px 5px!important}
  .rm-account-wrap{position:relative!important;z-index:3640!important}
  .mobile-live-dropdown{z-index:3660!important}
  .rm-mobile-side-panel{z-index:3800!important}
  .mobile-menu-overlay{z-index:3790!important}
  .mobile-menu-overlay:not(.active){visibility:hidden!important;opacity:0!important;pointer-events:none!important}
  .mobile-menu-overlay.active{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
}
@media(max-width:767px){
  .rm-header-row{grid-template-columns:minmax(94px,auto) minmax(104px,1fr) 42px 42px!important;column-gap:10px!important;align-items:center!important}
  .rm-mobile-quick-nav{justify-content:center!important;gap:18px!important;min-width:0!important}
  .rm-mobile-link{font-size:10.5px!important;white-space:nowrap!important}
}
@media(max-width:420px){
  .rm-header-row{grid-template-columns:72px minmax(118px,1fr) 40px 40px!important;gap:8px!important}
  .rm-brand-name{display:none!important}
  .rm-mobile-quick-nav{gap:14px!important;padding:0 4px!important}
  .rm-mobile-link{font-size:9.5px!important;letter-spacing:.02em!important}
}


/* =========================================================
   Rajmudra Jewellery brand title + domain position fix
   Replace assets/css/header.css or keep this block at bottom.
========================================================= */
.rm-brand{display:inline-grid!important;grid-template-columns:auto auto!important;align-items:center!important;column-gap:12px!important;row-gap:0!important;text-decoration:none!important;min-width:0!important;padding:2px 0!important}
.rm-brand:hover .rm-brand-name,.rm-brand:focus-visible .rm-brand-name{filter:brightness(1.08)}
.rm-brand-logo{flex:0 0 auto!important;width:clamp(58px,5.4vw,82px)!important;height:clamp(58px,5.4vw,82px)!important;object-fit:contain!important}
.rm-brand-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;line-height:1!important;min-width:0!important;transform:translateY(1px)!important}
.rm-brand-copy .rm-brand-name{display:block!important;margin:0!important;padding:0!important;font-family:"Times New Roman",Georgia,serif!important;font-size:clamp(31px,2.55vw,46px)!important;font-weight:700!important;line-height:.84!important;letter-spacing:.55px!important;white-space:nowrap!important;background:linear-gradient(90deg,#25170d 0%,#9b6428 48%,#25170d 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:0 8px 18px rgba(154,100,40,.10)!important}
.rm-brand-copy .rm-brand-name::after{display:none!important;content:none!important}
.rm-brand-domain{display:block!important;margin:5px 0 0 5px!important;padding:0!important;font-family:"Times New Roman",Georgia,serif!important;font-size:clamp(11px,.92vw,14px)!important;font-weight:800!important;line-height:1!important;color:#85551f!important;letter-spacing:.25px!important;white-space:nowrap!important;text-transform:lowercase!important}
.rm-brand-domain::after{display:none!important;content:none!important}
@media(max-width:767px){.rm-header-row{grid-template-columns:minmax(154px,190px) minmax(74px,1fr) 40px 40px!important;gap:8px!important}.rm-brand{column-gap:7px!important}.rm-brand-logo{width:45px!important;height:45px!important}.rm-brand-copy .rm-brand-name{display:block!important;font-size:23px!important;max-width:118px!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}.rm-brand-domain{display:block!important;margin-top:3px!important;margin-left:3px!important;font-size:10px!important;max-width:116px!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}}
@media(max-width:420px){.rm-header-row{grid-template-columns:minmax(138px,164px) minmax(62px,1fr) 38px 38px!important;gap:6px!important}.rm-brand{column-gap:6px!important}.rm-brand-logo{width:40px!important;height:40px!important}.rm-brand-copy .rm-brand-name{display:block!important;font-size:19px!important;max-width:98px!important}.rm-brand-domain{display:block!important;font-size:8.6px!important;max-width:98px!important}.rm-mobile-quick-nav{gap:8px!important;padding:0!important}.rm-mobile-link{font-size:8.8px!important}}
@media(max-width:360px){.rm-header-row{grid-template-columns:minmax(126px,150px) minmax(50px,1fr) 36px 36px!important}.rm-brand-logo{width:36px!important;height:36px!important}.rm-brand-copy .rm-brand-name{font-size:17px!important;max-width:88px!important}.rm-brand-domain{font-size:7.8px!important;max-width:88px!important}}

/* Reboot live-rate modal refinement: date/time and live moving price visibility */
.live-mini-datetime,
.mobile-live-datetime{
    display:block;
    margin-top:3px;
    color:#9b6a2a!important;
    font-size:9px!important;
    font-weight:800!important;
    letter-spacing:.12px;
    line-height:1.2;
    white-space:nowrap;
}
.live-price-pulse{
    animation:rmLivePricePulse .45s ease;
}
@keyframes rmLivePricePulse{
    0%{transform:translateY(0);opacity:.82;}
    50%{transform:translateY(-1px);opacity:1;}
    100%{transform:translateY(0);opacity:1;}
}

/* Customer header live-rate date placement */
.live-mini-title-stack,
.mobile-live-title-stack{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
    min-width:0;
}
.live-mini-today-date,
.mobile-live-today-date{
    display:block;
    margin-left:28px;
    color:#9b6a2a;
    font-size:11px;
    font-weight:800;
    line-height:1.1;
    letter-spacing:.18px;
    white-space:nowrap;
}
@media(max-width:767px){
    .mobile-live-today-date{font-size:10px;margin-left:28px;}
}


/* === v86 customer live-rate dropdown compact wide layout === */
.live-mini-dropdown{width:min(560px,calc(100vw - 28px))!important;padding:20px 18px 18px!important;border-radius:18px!important;}
.mobile-live-dropdown{width:min(560px,calc(100vw - 20px))!important;}
.live-mini-head,.mobile-live-head{display:block!important;margin-bottom:12px!important;}
.live-mini-title,.mobile-live-title{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;color:#21140c!important;font-size:15px!important;font-weight:950!important;white-space:nowrap!important;}
.live-mini-title .live-title-red,.mobile-live-title .live-title-red{color:#e03131!important;font-weight:1000!important;}
.live-mini-title time,.mobile-live-title time{margin-left:auto!important;color:#9b6a2a!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important;}
.live-mini-status,.mobile-live-status{display:none!important;}
.live-mini-list,.mobile-live-list{gap:8px!important;}
.live-mini-row,.mobile-live-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:11px 12px!important;border-radius:12px!important;background:#fff!important;border:1px solid #eadfce!important;}
.live-mini-icon,.mobile-live-icon{display:none!important;}
.live-mini-metal,.mobile-live-metal{min-width:0!important;flex:1 1 auto!important;display:flex!important;align-items:center!important;}
.live-mini-name,.mobile-live-metal span:last-child{display:block!important;min-width:0!important;}
.live-mini-name strong,.mobile-live-metal strong{display:block!important;font-size:12px!important;line-height:1.2!important;font-weight:1000!important;letter-spacing:.2px!important;color:#202027!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.live-mini-name small,.mobile-live-metal small{display:none!important;}
.live-mini-value-wrap,.mobile-live-value-wrap{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;text-align:right!important;flex:0 0 auto!important;white-space:nowrap!important;}
.live-mini-value-wrap strong,.mobile-live-value-wrap strong{font-size:15px!important;line-height:1!important;}
.live-mini-value-wrap small,.mobile-live-value-wrap small{font-size:10px!important;font-weight:800!important;color:#6f6a63!important;}
.live-mini-datetime,.mobile-live-datetime{display:none!important;}
@media(max-width:767px){.mobile-live-dropdown{left:10px!important;right:10px!important;width:auto!important}.mobile-live-title{font-size:13px!important}.mobile-live-title time{font-size:10px!important}.mobile-live-row{gap:8px!important}.mobile-live-value-wrap strong{font-size:13px!important}.mobile-live-metal strong{font-size:11px!important}}


/* === v87 customer live-rate modal final-rate display refinement === */
.live-mini-dropdown{width:min(650px,calc(100vw - 28px))!important;}
.mobile-live-dropdown{width:min(650px,calc(100vw - 20px))!important;}
.live-same-rate-alert{font-size:15px!important;line-height:1.35!important;font-weight:1000!important;padding:14px 16px!important;text-align:center!important;letter-spacing:.01em!important;}
.live-mini-row,.mobile-live-row{min-height:48px!important;}
.live-mini-value-wrap strong,.mobile-live-value-wrap strong{font-size:17px!important;font-weight:1000!important;}
@media(max-width:560px){
  .mobile-live-row,.live-mini-row{align-items:flex-start!important;flex-wrap:wrap!important;gap:6px 10px!important;}
  .mobile-live-metal,.live-mini-metal{flex:1 1 100%!important;width:100%!important;}
  .mobile-live-metal strong,.live-mini-name strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25!important;}
  .mobile-live-value-wrap,.live-mini-value-wrap{width:100%!important;justify-content:space-between!important;}
  .mobile-live-value-wrap strong,.live-mini-value-wrap strong{font-size:16px!important;}
  .mobile-live-title,.live-mini-title{flex-wrap:wrap!important;white-space:normal!important;}
  .mobile-live-title time,.live-mini-title time{margin-left:0!important;width:100%!important;}
}


/* Customer news ticker: final responsive overrides */
@media (max-width: 991px) {
    .topbar-wrap.rm-news-ticker { display:block; overflow:hidden; padding:0; font-size:11px; }
    .rm-news-item { min-width:50vw; padding:0 28px; font-size:11px; }
}
@media (max-width: 520px) {
    .rm-news-track { animation-duration:20s; }
    .rm-news-item { min-width:70vw; padding:0 22px; font-size:10px; letter-spacing:.4px; }
}

/* Multiline customer-news ticker with alternating white/gold items. */
.topbar-wrap.rm-news-ticker{
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    overflow:hidden!important;
}
.rm-news-track{
    display:flex!important;
    align-items:center!important;
    width:max-content!important;
    min-width:max-content!important;
    height:100%!important;
    animation-name:rmNewsTicker!important;
    animation-duration:var(--rm-news-duration,24s)!important;
    animation-timing-function:linear!important;
    animation-iteration-count:infinite!important;
}
.rm-news-group{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    width:max-content!important;
    min-width:max-content!important;
    height:100%!important;
}
.rm-news-item{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    height:100%!important;
    gap:9px!important;
    padding:0 clamp(28px,4vw,64px)!important;
    font-size:12px!important;
    font-weight:850!important;
    letter-spacing:.55px!important;
    white-space:nowrap!important;
}
.rm-news-item.is-white,
.rm-news-item.is-white>span{color:#fff!important}
.rm-news-item.is-gold,
.rm-news-item.is-gold>span{color:#f1bd5f!important}
.rm-news-item i{
    color:currentColor!important;
    font-size:12px!important;
    filter:drop-shadow(0 1px 1px rgba(0,0,0,.35));
}
@media(max-width:700px){
    .rm-news-item{padding-inline:24px!important;font-size:10px!important;letter-spacing:.35px!important}
}
@media(prefers-reduced-motion:reduce){
    .rm-news-track{animation:none!important;width:100%!important;min-width:0!important}
    .rm-news-group{width:100%!important;min-width:0!important;overflow:hidden!important}
    .rm-news-group[aria-hidden="true"]{display:none!important}
    .rm-news-group .rm-news-item:not(:first-child){display:none!important}
    .rm-news-item{width:100%!important;min-width:0!important;justify-content:center!important;overflow:hidden!important;text-overflow:ellipsis!important}
}


/* Shared desktop dropdowns: Coins, SIP and More. */
.rm-nav-dropdown .rm-more-panel { min-width: 230px; width: max-content; max-width: 290px; }
.rm-nav-dropdown .rm-more-panel a { justify-content: space-between; gap: 12px; }
.rm-nav-dropdown .rm-more-panel a .header-sip-count { margin-left: auto; }

/* Nested mobile navigation groups. */
.rm-mobile-nav-group {
    display: grid;
    gap: 7px;
}
.rm-mobile-nav-group-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 15px;
    border: 1px solid rgba(235, 214, 181, .9);
    background: rgba(255,255,255,.62);
    color: #231810;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .25px;
    cursor: pointer;
}
.rm-mobile-nav-group-toggle > span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.rm-mobile-nav-group-toggle > span > i {
    width: 19px;
    color: #9b6428;
    text-align: center;
}
.rm-mobile-nav-group-toggle > i {
    font-size: 12px;
    color: #9b6428;
    transition: transform .2s ease;
}
.rm-mobile-nav-group.active .rm-mobile-nav-group-toggle,
.rm-mobile-nav-group.is-open .rm-mobile-nav-group-toggle,
.rm-mobile-nav-group-toggle:hover {
    background: #fff5e5;
    color: #9b6428;
    border-color: rgba(201,147,79,.38);
}
.rm-mobile-nav-group.is-open .rm-mobile-nav-group-toggle > i { transform: rotate(180deg); }
.rm-mobile-nav-group-toggle b {
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 10px;
}
.rm-mobile-nav-submenu {
    display: none;
    gap: 6px;
    padding: 0 0 2px 20px;
}
.rm-mobile-nav-group.is-open .rm-mobile-nav-submenu { display: grid; }
.rm-mobile-panel-nav .rm-mobile-nav-submenu a {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255,250,241,.82);
}
.rm-mobile-panel-nav .rm-mobile-nav-submenu a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b17a38;
    flex: 0 0 auto;
}

/* Logout confirmation */
.rm-logout-confirm{position:fixed;inset:0;z-index:12050;display:grid;place-items:center;padding:20px}
.rm-logout-confirm[hidden]{display:none!important}
.rm-logout-confirm__backdrop{position:absolute;inset:0;border:0;background:rgba(28,14,8,.62);backdrop-filter:blur(5px);cursor:default}
.rm-logout-confirm__box{position:relative;z-index:1;width:min(430px,100%);padding:28px;border:1px solid rgba(139,80,35,.22);border-radius:24px;background:#fffaf4;box-shadow:0 28px 80px rgba(28,14,8,.32);text-align:center;color:#412514}
.rm-logout-confirm__icon{width:58px;height:58px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:#ffe7e7;color:#b92121;font-size:22px}
.rm-logout-confirm__box h2{margin:0 0 8px;font-size:23px}
.rm-logout-confirm__box p{margin:0 auto 22px;max-width:340px;color:#786151;line-height:1.55;font-size:14px}
.rm-logout-confirm__box>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rm-logout-confirm__box button{min-height:46px;border-radius:12px;font-weight:800;cursor:pointer;transition:.2s ease}
.rm-logout-confirm__cancel{border:1px solid #d8c7b7;background:#fff;color:#503524}
.rm-logout-confirm__yes{border:1px solid #c62828;background:#c62828;color:#fff}
.rm-logout-confirm__box button:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(50,25,12,.12)}
.rm-logout-confirm__yes:hover{background:#a91e1e;border-color:#a91e1e}
body.rm-logout-confirm-open{overflow:hidden}
@media(max-width:480px){.rm-logout-confirm__box{padding:22px 18px}.rm-logout-confirm__box>div{grid-template-columns:1fr}}

/* ===== Customer header B2B button refinement v12 ===== */
.b2b-live-rate-btn{
  background:#fde7f1!important;
  color:#9f255c!important;
  border:1px solid #efbad1!important;
  box-shadow:0 7px 18px rgba(159,37,92,.10)!important;
}
.b2b-live-rate-btn:hover,.b2b-live-rate-btn:focus-visible{
  background:#f9d7e7!important;
  color:#821c49!important;
  border-color:#de91b3!important;
  box-shadow:0 10px 22px rgba(159,37,92,.16)!important;
}
/* ===== End Customer header B2B button refinement v12 ===== */
