/* ==========================================================================
   Rajesh Gaud Dubai Real Estate - Luxury RG Language Converter Styling
   100% Brand Customization with "RG Translate" - Zero Third-Party Footprint
   ========================================================================== */

/* 1. DESKTOP TRIGGER BUTTON (Both in Main Header and Sticky Header) */
.lang-converter {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 34px;
    padding: 0.38rem 0.85rem;
    background: rgba(255, 250, 241, 0.08);
    border: 1px solid rgba(255, 250, 241, 0.24);
    border-radius: var(--radius, 8px);
    color: var(--paper, #f8f7f3);
    font-family: var(--font-body, "Montserrat", Arial, sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
}

.lang-trigger-btn:hover {
    background: rgba(216, 173, 94, 0.16);
    border-color: var(--bronze, #d8ad5e);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(216, 173, 94, 0.2);
}

.lang-trigger-btn[aria-expanded="true"] {
    background: rgba(216, 173, 94, 0.22);
    border-color: var(--bronze, #d8ad5e);
    box-shadow: 0 0 0 2px rgba(216, 173, 94, 0.35);
}

/* Custom RG Monogram Tag in Button */
.lang-trigger-rg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 18px;
    background: linear-gradient(135deg, rgba(216, 173, 94, 0.35) 0%, rgba(216, 173, 94, 0.15) 100%);
    border: 1px solid rgba(216, 173, 94, 0.55);
    border-radius: 4px;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bronze, #d8ad5e);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.lang-trigger-btn:hover .lang-trigger-rg-badge {
    background: var(--bronze, #d8ad5e);
    color: #09221d;
}

.lang-trigger-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.lang-trigger-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.75;
    transition: transform 200ms ease;
}

.lang-trigger-btn[aria-expanded="true"] .lang-trigger-arrow {
    transform: rotate(180deg);
}

/* 2. MOBILE HEADER TRIGGER */
.mobile-lang-btn {
    position: relative;
}

.mobile-lang-rg-mark {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bronze, #d8ad5e);
    letter-spacing: 0.04em;
}

.mobile-lang-pill {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--bronze, #d8ad5e);
    color: #09221d;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
    letter-spacing: 0.04em;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 3. MOBILE DRAWER LANGUAGE ROW */
.mobile-drawer-lang-wrap {
    width: 100%;
    padding: 0.35rem 0 0.55rem 0;
    margin: 0.25rem 0 0 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.12);
    box-sizing: border-box;
}

.mobile-drawer-lang-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    height: 38px;
    min-height: 38px;
    padding: 0 0.85rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(216, 173, 94, 0.28);
    border-radius: 7px;
    color: var(--paper, #f8f7f3);
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease;
}

.mobile-drawer-lang-btn:active,
.mobile-drawer-lang-btn:hover {
    background: rgba(216, 173, 94, 0.1);
    border-color: rgba(216, 173, 94, 0.55);
}

.mobile-drawer-lang-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(216, 173, 94, 0.14);
    color: var(--bronze, #d8ad5e);
    border-radius: 6px;
    flex-shrink: 0;
}

.mobile-drawer-lang-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mobile-drawer-lang-text small {
    font-size: 0.68rem;
    color: rgba(248, 247, 243, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mobile-drawer-lang-text strong {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 600;
}

.mobile-drawer-lang-action {
    font-size: 0.74rem;
    color: var(--bronze, #d8ad5e);
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    background: rgba(216, 173, 94, 0.12);
    border-radius: 4px;
    border: 1px solid rgba(216, 173, 94, 0.25);
}

/* 4. BACKDROP OVERLAY */
.lang-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99980;
    background: rgba(4, 15, 13, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.lang-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* 5. REDESIGNED MODAL / DROPDOWN PANEL (Compact Height - Fits 100% on Screen) */
.lang-panel {
    position: fixed;
    width: 360px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 80px);
    background: rgba(9, 34, 29, 0.98);
    border: 1px solid rgba(216, 173, 94, 0.38);
    border-radius: 14px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.65), 0 0 35px rgba(216, 173, 94, 0.16);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    z-index: 99990;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
    transition: opacity 220ms var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1)),
                transform 220ms var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1)),
                visibility 220ms var(--ease-premium, cubic-bezier(0.22, 1, 0.36, 1));
}

.lang-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Handle for mobile bottom sheet */
.lang-sheet-handle {
    display: none;
    width: 44px;
    height: 4px;
    background: rgba(248, 247, 243, 0.28);
    border-radius: 2px;
    margin: 10px auto 4px;
    flex-shrink: 0;
}

/* Panel Header - Clean Flex Layout, No Chopping */
.lang-panel-head {
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(216, 173, 94, 0.16);
    background: rgba(12, 45, 38, 0.55);
    flex-shrink: 0;
    box-sizing: border-box;
}

.lang-panel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.lang-title-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-title-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(216, 173, 94, 0.25) 0%, rgba(9, 34, 29, 0.8) 100%);
    border: 1px solid var(--bronze, #d8ad5e);
    border-radius: 5px;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bronze, #d8ad5e);
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.lang-panel-title {
    margin: 0;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.15;
}

.lang-panel-subtitle {
    margin: 1px 0 0;
    font-size: 0.65rem;
    color: var(--bronze, #d8ad5e);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lang-panel-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 250, 241, 0.14);
    color: rgba(248, 247, 243, 0.65);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 140ms ease;
}

.lang-panel-close:hover {
    color: #ffffff;
    background: rgba(216, 173, 94, 0.2);
    border-color: var(--bronze, #d8ad5e);
}

.lang-panel-close .ui-icon {
    width: 14px;
    height: 14px;
}

/* Search Field - Spacious, Clear Visibility */
.lang-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.lang-search-icon {
    position: absolute;
    left: 12px;
    width: 15px;
    height: 15px;
    color: rgba(216, 173, 94, 0.7);
    pointer-events: none;
}

.lang-search-input {
    width: 100%;
    height: 36px;
    padding: 0 36px 0 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(216, 173, 94, 0.28);
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-body, "Montserrat", Arial, sans-serif);
    font-size: 0.85rem;
    box-sizing: border-box;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.lang-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--bronze, #d8ad5e);
    box-shadow: 0 0 0 2px rgba(216, 173, 94, 0.25);
}

.lang-search-input::placeholder {
    color: rgba(248, 247, 243, 0.45);
}

.lang-search-clear {
    position: absolute;
    right: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    color: rgba(248, 247, 243, 0.55);
    cursor: pointer;
    border-radius: 50%;
    padding: 0;
    transition: color 140ms ease, background 140ms ease;
}

.lang-search-clear:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.lang-search-clear .ui-icon {
    width: 13px;
    height: 13px;
}

/* Category Quick Filter Pills - Full Height, Never Clipped */
.lang-filter-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(9, 34, 29, 0.85);
    border-bottom: 1px solid rgba(216, 173, 94, 0.12);
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}

.lang-filter-pills::-webkit-scrollbar {
    display: none;
}

.lang-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    padding: 0 10px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255, 250, 241, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(248, 247, 243, 0.75);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 160ms ease;
}

.lang-pill-btn:hover {
    background: rgba(216, 173, 94, 0.15);
    border-color: var(--bronze, #d8ad5e);
    color: #ffffff;
}

.lang-pill-btn.is-active {
    background: var(--bronze, #d8ad5e);
    border-color: var(--bronze, #d8ad5e);
    color: #09221d;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(216, 173, 94, 0.35);
}

/* Language List Area - Smooth Scrolling & Generous Breathing Room */
.lang-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: clamp(170px, 30vh, 230px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 12px 14px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(216, 173, 94, 0.4) transparent;
}

.lang-list::-webkit-scrollbar {
    width: 6px;
}

.lang-list::-webkit-scrollbar-track {
    background: transparent;
}

.lang-list::-webkit-scrollbar-thumb {
    background: rgba(216, 173, 94, 0.35);
    border-radius: 4px;
}

.lang-list::-webkit-scrollbar-thumb:hover {
    background: var(--bronze, #d8ad5e);
}

/* Category Group */
.lang-group {
    margin-bottom: 0.85rem;
}

.lang-group:last-child {
    margin-bottom: 0.25rem;
}

.lang-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 6px 8px;
    margin-bottom: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--bronze, #d8ad5e);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(216, 173, 94, 0.16);
}

.lang-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 16px;
    padding: 0 4px;
    background: rgba(216, 173, 94, 0.14);
    border-radius: 10px;
    font-size: 0.62rem;
    color: var(--bronze, #d8ad5e);
}

/* Language Item Row */
.lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 3px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 7px;
    color: var(--paper, #f8f7f3);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.lang-item:hover,
.lang-item:focus-visible {
    background: rgba(216, 173, 94, 0.13);
    border-color: rgba(216, 173, 94, 0.35);
    outline: none;
    transform: translateX(3px);
}

.lang-item.is-selected {
    background: rgba(216, 173, 94, 0.18);
    border-color: var(--bronze, #d8ad5e);
    box-shadow: inset 0 0 12px rgba(216, 173, 94, 0.12);
}

.lang-item-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.lang-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 19px;
    padding: 0 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 250, 241, 0.18);
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bronze, #d8ad5e);
    flex-shrink: 0;
    transition: all 140ms ease;
}

.lang-item.is-selected .lang-item-badge,
.lang-item:hover .lang-item-badge {
    background: var(--bronze, #d8ad5e);
    color: #09221d;
    border-color: var(--bronze, #d8ad5e);
}

.lang-item-titles {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
}

.lang-item-native {
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.lang-item-en {
    font-size: 0.72rem;
    color: rgba(248, 247, 243, 0.58);
    white-space: nowrap;
}

.lang-item-check {
    width: 18px;
    height: 18px;
    display: none;
    color: var(--bronze, #d8ad5e);
    flex-shrink: 0;
}

.lang-item.is-selected .lang-item-check {
    display: block;
}

.lang-item-check svg {
    width: 100%;
    height: 100%;
}

/* Empty State */
.lang-empty-state {
    padding: 2.4rem 1rem;
    text-align: center;
}

.lang-empty-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 0.6rem;
    color: rgba(216, 173, 94, 0.45);
}

.lang-empty-title {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.lang-empty-desc {
    margin: 0;
    font-size: 0.76rem;
    color: rgba(248, 247, 243, 0.5);
}

/* Panel Footer - Distinct, Generous Padding */
.lang-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid rgba(216, 173, 94, 0.2);
    background: rgba(7, 26, 22, 0.95);
    flex-shrink: 0;
    box-sizing: border-box;
    font-size: 0.72rem;
    color: rgba(248, 247, 243, 0.6);
}

.lang-panel-foot-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--bronze, #d8ad5e);
    font-weight: 600;
}

.lang-foot-rg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 15px;
    background: rgba(216, 173, 94, 0.2);
    border: 1px solid rgba(216, 173, 94, 0.4);
    border-radius: 3px;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--bronze, #d8ad5e);
}

.lang-foot-count {
    font-size: 0.7rem;
    color: rgba(248, 247, 243, 0.5);
}

/* ==========================================================================
   6. TOP-RIGHT FLOATING "RG TRANSLATE" STATUS INDICATOR
   Rotating ring surrounding the bespoke RG Luxury Monogram
   Zero Google Branding visible to visitors
   ========================================================================== */
.gt-floating-status {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(9, 34, 29, 0.96);
    border: 1px solid rgba(216, 173, 94, 0.45);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 28px rgba(216, 173, 94, 0.22);
    border-radius: 9999px;
    padding: 7px 18px 7px 8px;
    color: var(--paper, #f8f7f3);
    font-family: var(--font-body, "Montserrat", Arial, sans-serif);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px) scale(0.92);
    transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 280ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.gt-floating-status.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.gt-icon-box {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* The circle rotating surrounding the RG icon */
.gt-spinner-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: gtRingSpin 1s linear infinite;
    transform-origin: center center;
}

.gt-spinner-ring circle.ring-track {
    fill: none;
    stroke: rgba(216, 173, 94, 0.22);
    stroke-width: 2.4;
}

.gt-spinner-ring circle.ring-head {
    fill: none;
    stroke: var(--bronze, #d8ad5e);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-dasharray: 65 140;
}

/* RG Luxury Monogram in the Center */
.rg-center-emblem {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #0c3f35 0%, #09221d 100%);
    border: 1px solid rgba(216, 173, 94, 0.5);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.rg-status-monogram {
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bronze, #d8ad5e);
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Status texts */
.gt-status-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.gt-status-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--bronze, #d8ad5e);
}

.gt-status-lang {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gt-success-icon {
    display: none;
    width: 14px;
    height: 14px;
    color: #4ade80;
}

/* Success finished state */
.gt-floating-status.is-finished .gt-spinner-ring {
    animation: none;
}

.gt-floating-status.is-finished .gt-spinner-ring circle.ring-head {
    stroke: #4ade80;
    stroke-dasharray: 200 200;
    transition: stroke-dasharray 300ms ease, stroke 300ms ease;
}

.gt-floating-status.is-finished .gt-success-icon {
    display: inline-block;
}

@keyframes gtRingSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   7. GOOGLE TRANSLATE COMPLETE SUPPRESSION & STEALTH MODE
   Zero Google branding, zero bars, zero tooltips, zero layout shifts
   ========================================================================== */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-logo-link,
.goog-te-gadget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Hide Google's native top banner frame if injected directly under body */
body > .skiptranslate:not(.lang-converter-root) {
    display: none !important;
}

/* Prevent Google Translate from adding yellow or blue hover backgrounds to words */
.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Prevent body and html from being pushed down by 40px */
html,
body {
    top: 0px !important;
    position: static !important;
}

/* Hide Google Translate's native spinner */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1060px) {
    .site-header .lang-trigger-btn,
    .home-sticky-header .lang-trigger-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .lang-sheet-handle {
        display: block;
    }

    .lang-panel {
        inset: auto 0 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        border-bottom: none;
        box-shadow: 0 -10px 45px rgba(0, 0, 0, 0.75);
    }

    .lang-panel.is-open {
        transform: translateY(0);
    }

    .lang-panel-head {
        padding: 12px 16px 10px;
    }

    .lang-list {
        max-height: 55vh;
        padding: 10px 14px 24px;
    }

    .gt-floating-status {
        top: 14px;
        right: 14px;
        padding: 6px 14px 6px 6px;
        gap: 9px;
    }

    .gt-icon-box {
        width: 36px;
        height: 36px;
    }

    .rg-center-emblem {
        width: 24px;
        height: 24px;
    }

    .rg-status-monogram {
        font-size: 0.68rem;
    }

    .gt-status-label {
        font-size: 0.62rem;
    }

    .gt-status-lang {
        font-size: 0.8rem;
    }
}
