/* ==========================================================================
   Turkey Malls & Shopping Interactive Map - Epsilon Theme Design System
   ========================================================================== */

:root {
    --mall-primary: #07698A;
    --mall-primary-hover: #044b63;
    --mall-emerald: #059669;
    --mall-amber: #d97706;
    --mall-rose: #e11d48;
    --mall-purple: #7c3aed;
    --mall-blue: #0284c7;
    --mall-bg-light: #f8fafc;
    --mall-border: #cbd5e1;
    --mall-card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Enforce 100% Native Site Font on the entire page, Leaflet Map, Popups, Modals & Controls (Excluding Icons) */
body.malls-map-body,
.malls-map-page-wrap,
.malls-map-page-wrap *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
.leaflet-container,
.leaflet-container *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
.leaflet-popup,
.leaflet-popup-content,
.leaflet-popup-content-wrapper,
.leaflet-control,
.malls-custom-popup,
.mall-popup-box,
.mall-popup-box *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
.mall-item-card,
.mall-item-card *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
.mall-guide-modal,
.mall-guide-modal *:not(i):not([class*="fa-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
    font-family: inherit !important;
}

/* Explicitly preserve FontAwesome Icons font-family */
i.fa, i.fas, i.far, i.fab, i.fa-solid, i.fa-regular, i.fa-brands, [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    display: inline-block;
}

/* Prevent theme fixed side banners from overlapping and intercepting clicks on desktop */
#body-banner,
#body-banner.bleft,
#body-banner.bright {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================================
   HEADER Z-INDEX & PAGE TOP CLEARANCE FIX
   Ensures global site header sits above map, controls and cards on malls page
   ========================================================================== */
body.malls-map-body {
    padding-top: 65px !important;
}
body.malls-map-body header {
    z-index: 1050 !important;
}

.malls-map-page-wrap {
    position: relative;
    z-index: 1;
    color: #1e293b;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 12px 10px;
    box-sizing: border-box;
}

/* Clean Title Section (No Blue Card) */
.malls-page-clean-header {
    margin-bottom: 16px;
    padding: 6px 2px 2px;
    text-align: center;
}

.malls-page-clean-title {
    font-size: 24px;
    font-weight: 900;
    color: #07698A;
    margin: 0 auto;
    display: block;
    text-align: center;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

/* 4 Essential Shopping Guides (Mobile-Optimized Responsive Grid) */
.malls-guides-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.btn-guide-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    min-height: 44px;
    box-sizing: border-box;
    text-decoration: none !important;
}
.btn-guide-card * {
    pointer-events: none;
}
.btn-guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 105, 138, 0.16);
    border-color: #07698A;
    color: #07698A;
}
.btn-guide-card i {
    font-size: 15px;
    transition: transform 0.2s ease;
}
.btn-guide-card:hover i {
    transform: scale(1.15);
}

.btn-guide-card.guide-sizes {
    border-inline-start: 4px solid #07698A;
}
.btn-guide-card.guide-sizes i { color: #07698A; }

.btn-guide-card.guide-hours {
    border-inline-start: 4px solid #059669;
}
.btn-guide-card.guide-hours i { color: #059669; }

.btn-guide-card.guide-sales {
    border-inline-start: 4px solid #e11d48;
}
.btn-guide-card.guide-sales i { color: #e11d48; }

.btn-guide-card.guide-bargain {
    border-inline-start: 4px solid #d97706;
}
.btn-guide-card.guide-bargain i { color: #d97706; }

@media (max-width: 768px) {
    body.malls-map-body {
        padding-top: 54px !important;
    }
    body.malls-map-body header {
        z-index: 1050 !important;
    }
    .malls-map-page-wrap {
        padding: 8px 6px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .malls-page-clean-header {
        margin-bottom: 10px !important;
        padding: 4px 2px 2px !important;
    }
    .malls-page-clean-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
    }
    .malls-guides-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
		padding: 10px 8px;
    }
    .btn-guide-card {
        padding: 8px 8px !important;
        font-size: 12px !important;
        min-height: 40px !important;
        border-radius: 10px !important;
    }
    .malls-board-wrap {
        padding: 10px 8px !important;
        border-radius: 12px !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    body.malls-map-body {
        padding-top: 50px !important;
    }
    .malls-map-page-wrap {
        padding: 6px 3px 12px !important;
    }
    .malls-page-clean-title {
        font-size: 17px !important;
    }
    .malls-board-wrap {
        padding: 8px 6px !important;
    }
    .btn-guide-card {
        padding: 7px 5px !important;
        font-size: 11.5px !important;
    }
}

/* Control Board Frame */
.malls-board-wrap {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    box-shadow: var(--mall-card-shadow);
    padding: 14px;
}

/* Mobile-Friendly Controls Row: Scope Dropdown + Category Dropdown + Near Me */
.malls-controls-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.malls-control-group {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.malls-control-label {
    font-size: 12.5px;
    font-weight: 900;
    color: #07698A;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.malls-select-custom-wrap {
    position: relative;
    width: 100%;
}

.malls-select-custom-wrap select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #07698A;
    border-radius: 10px;
    padding: 9px 34px 9px 12px;
    font-size: 13px;
    font-weight: 800;
    color: #07698A;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    min-height: 40px;
}

html[dir="rtl"] .malls-select-custom-wrap select {
    padding: 9px 12px 9px 34px;
}

.malls-select-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    color: #07698A;
    pointer-events: none;
    font-size: 12px;
}

html[dir="rtl"] .malls-select-arrow {
    right: auto;
    left: 12px;
}

/* Searchable City Selector Dropdown */
.malls-searchable-city {
    position: relative;
    width: 100%;
}

.btn-city-picker-trigger {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #07698A;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    color: #07698A;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    text-align: inherit;
}
.btn-city-picker-trigger:hover,
.btn-city-picker-trigger.active {
    border-color: #044b63;
    background: #f8fafc;
}
.btn-city-picker-trigger * {
    pointer-events: none;
}
.city-picker-val {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.city-picker-chevron {
    font-size: 12px;
    color: #07698A;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.btn-city-picker-trigger.active .city-picker-chevron {
    transform: rotate(180deg);
}

.city-picker-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #07698A;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    overflow: hidden;
    animation: cityDropFade 0.12s ease-out;
}
@keyframes cityDropFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.city-picker-search-bar {
    padding: 8px 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.city-search-icon {
    color: #07698A;
    font-size: 13px;
    flex-shrink: 0;
}
.city-search-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 28px 7px 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #ffffff;
}
html[dir="rtl"] .city-search-input {
    padding: 7px 10px 7px 28px;
}
.city-search-input:focus {
    border-color: #07698A;
    box-shadow: 0 0 0 2px rgba(7, 105, 138, 0.15);
}
.btn-clear-city-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    background: #cbd5e1;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    cursor: pointer;
    line-height: 1;
}
html[dir="rtl"] .btn-clear-city-search {
    right: auto;
    left: 18px;
}

.city-picker-options-list {
    max-height: 260px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
}
.city-optgroup-label {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 900;
    color: #64748b;
    background: #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: sticky;
    top: 0;
    z-index: 2;
}
.city-option-item {
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.city-option-item:hover {
    background: #f0fdfa;
    color: #07698A;
}
.city-option-item.selected {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 900;
}
.city-opt-check {
    font-size: 11px;
    color: #0284c7;
    display: none;
}
.city-option-item.selected .city-opt-check {
    display: block;
}
.city-no-match {
    padding: 18px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .city-picker-dropdown {
        max-height: 60vh;
    }
    .city-picker-options-list {
        max-height: 48vh;
    }
}

.malls-control-nearme {
    display: flex;
    align-items: flex-end;
}

.btn-malls-near-me {
    background: #ffffff;
    color: #0284c7;
    border: 1.5px solid #0284c7;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
}
.btn-malls-near-me * {
    pointer-events: none;
}

.btn-malls-near-me:hover {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.btn-malls-near-me.active {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

@media (max-width: 768px) {
    .malls-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 8px;
    }
    .malls-control-group {
        width: 100%;
        min-width: 0;
    }
    .malls-control-nearme {
        width: 100%;
    }
    .btn-malls-near-me {
        width: 100%;
        justify-content: center;
    }
}

.type-filter-pill.pill-near-me {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    margin-inline-start: auto;
}
.type-filter-pill.pill-near-me.active {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

/* Distance Filter Bar (Near Me) */
.malls-distance-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    margin-bottom: 12px;
}
.malls-dist-title {
    font-size: 12px;
    font-weight: 900;
    color: #15803d;
    display: flex;
    align-items: center;
    gap: 6px;
}
.malls-dist-btn {
    background: #ffffff;
    border: 1.5px solid #16a34a;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}
.malls-dist-btn.active {
    background: #16a34a;
    color: #ffffff;
}

/* Workspace Grid (Sidebar Directory + Map Canvas) */
.malls-workspace-grid {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 14px;
    min-height: 640px;
}

/* Directory Sidebar */
.malls-directory-panel {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px;
    box-sizing: border-box;
    max-height: 660px;
}
.malls-search-wrap {
    position: relative;
    margin-bottom: 8px;
}
.malls-search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    color: #94a3b8;
    font-size: 13px;
}
html[dir="rtl"] .malls-search-icon {
    left: auto;
    right: 12px;
}
.malls-search-input {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px 8px 34px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}
html[dir="rtl"] .malls-search-input {
    padding: 8px 34px 8px 12px;
}
.malls-search-input:focus {
    border-color: #07698A;
    box-shadow: 0 0 0 3px rgba(7, 105, 138, 0.12);
}

.btn-toggle-malls-list {
    background: #ffffff;
    border: 1.5px solid #07698A;
    color: #07698A;
    padding: 7px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-toggle-malls-list:hover {
    background: #07698A;
    color: #ffffff;
}

.malls-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.malls-cards-scroll {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-inline-end: 4px;
}

/* Mall Item Card */
.mall-item-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.mall-item-card:hover {
    border-color: #07698A;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.mall-item-card.type-mall { border-inline-start: 4px solid var(--mall-emerald); }
.mall-item-card.type-bazaar { border-inline-start: 4px solid var(--mall-amber); }
.mall-item-card.type-outlet { border-inline-start: 4px solid var(--mall-rose); }
.mall-item-card.type-wholesale { border-inline-start: 4px solid var(--mall-purple); }
.mall-item-card.type-avenue { border-inline-start: 4px solid var(--mall-blue); }
.mall-item-card.type-square { border-inline-start: 4px solid #0891b2; }

.mall-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}
.mall-card-name {
    font-size: 13.5px;
    font-weight: 900;
    color: #0f172a;
}
.mall-type-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    white-space: nowrap;
}
.badge-type-mall { background: #d1fae5; color: #065f46; }
.badge-type-bazaar { background: #fef3c7; color: #92400e; }
.badge-type-outlet { background: #ffe4e6; color: #9f1239; }
.badge-type-wholesale { background: #ede9fe; color: #5b21b6; }
.badge-type-avenue { background: #e0f2fe; color: #075985; }
.badge-type-square { background: #cffafe; color: #155e75; }

.mall-card-meta {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.mall-card-highlights {
    font-size: 11px;
    color: #475569;
    line-height: 1.4;
}

/* Map Canvas */
.malls-map-canvas-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #cbd5e1;
    min-height: 640px;
    height: 100%;
}
#mallsMapCanvas {
    width: 100%;
    height: 100%;
    min-height: 640px;
}

/* Floating Map Controls in Bottom Corner (Fullscreen + Zoom In / Out) */
.malls-map-floating-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16), 0 1px 4px rgba(0, 0, 0, 0.08);
    border: 1.5px solid #cbd5e1;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}
html[dir="rtl"] .malls-map-floating-controls {
    left: 20px;
    right: auto;
}
.malls-map-control-btn {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: none;
    outline: none;
    color: #1e293b;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
}
.malls-map-control-btn:hover {
    background: #f1f5f9;
    color: #07698A;
}
.malls-map-control-btn:active {
    background: #e2e8f0;
}
.malls-control-divider {
    height: 1px;
    background: #e2e8f0;
    width: 100%;
}
.malls-map-control-btn.btn-fullscreen {
    color: #07698A;
    font-size: 13.5px;
}
.malls-map-control-btn.btn-fullscreen:hover {
    color: #044b63;
    background: #e0f2fe;
}

/* Fullscreen Map Mode */
.malls-map-canvas-wrap.is-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    z-index: 999999 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
}
.malls-map-canvas-wrap.is-fullscreen #mallsMapCanvas {
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
}
.malls-map-canvas-wrap.is-fullscreen .malls-map-floating-controls {
    bottom: 28px;
    left: 28px;
}
html[dir="rtl"] .malls-map-canvas-wrap.is-fullscreen .malls-map-floating-controls {
    left: 28px;
    right: auto;
}
body.malls-map-is-fullscreen {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .malls-map-floating-controls {
        bottom: 16px;
        left: 14px;
    }
    html[dir="rtl"] .malls-map-floating-controls {
        left: 14px;
        right: auto;
    }
    .malls-map-control-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* Custom Marker Pins */
.custom-mall-pin-wrap {
    will-change: transform;
}
.custom-mall-pin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: transform 0.15s ease;
    contain: layout style paint;
}
.leaflet-zoom-anim .custom-mall-pin {
    transition: none !important;
}
.custom-mall-pin:hover {
    transform: scale(1.22);
    z-index: 9999;
}
.custom-mall-pin.pin-mall { background: var(--mall-emerald); }
.custom-mall-pin.pin-bazaar { background: var(--mall-amber); }
.custom-mall-pin.pin-outlet { background: var(--mall-rose); }
.custom-mall-pin.pin-wholesale { background: var(--mall-purple); }
.custom-mall-pin.pin-avenue { background: var(--mall-blue); }
.custom-mall-pin.pin-square { background: #0891b2; }

/* Leaflet Popup Styling */
.malls-custom-popup .leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18) !important;
    border: 1.5px solid #e2e8f0 !important;
}
.malls-custom-popup .leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Close button positioning per language direction */
.malls-custom-popup .leaflet-popup-close-button {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    padding: 2px !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    z-index: 100 !important;
}
.malls-custom-popup .leaflet-popup-close-button:hover {
    color: #e11d48 !important;
    background: #fee2e2 !important;
}

html[dir="rtl"] .malls-custom-popup .leaflet-popup-close-button,
.malls-custom-popup.popup-rtl .leaflet-popup-close-button,
.malls-custom-popup:has(.mall-popup-box[dir="rtl"]) .leaflet-popup-close-button {
    left: 10px !important;
    right: auto !important;
    top: 10px !important;
}

html[dir="ltr"] .malls-custom-popup .leaflet-popup-close-button,
.malls-custom-popup.popup-ltr .leaflet-popup-close-button,
.malls-custom-popup:has(.mall-popup-box[dir="ltr"]) .leaflet-popup-close-button {
    right: 10px !important;
    left: auto !important;
    top: 10px !important;
}

.mall-popup-box {
    padding: 14px 16px;
    min-width: 270px;
    max-width: 320px;
    box-sizing: border-box;
}

.mall-popup-box[dir="rtl"] {
    direction: rtl !important;
    text-align: right !important;
}
.mall-popup-box[dir="ltr"] {
    direction: ltr !important;
    text-align: left !important;
}

.mall-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 24px;
}
.mall-popup-box[dir="rtl"] .mall-popup-header {
    padding-left: 28px !important;
    padding-right: 0 !important;
}
.mall-popup-box[dir="ltr"] .mall-popup-header {
    padding-right: 28px !important;
    padding-left: 0 !important;
}

.mall-popup-title {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.35;
}
.mall-popup-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.tax-free-badge {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    padding: 2px 7px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mall-popup-info-line {
    font-size: 11.5px;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}
.mall-popup-info-line i {
    color: #07698A;
    margin-top: 2px;
    flex-shrink: 0;
}

.mall-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.btn-popup-act {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-popup-act.btn-gmaps {
    background: #07698A;
    color: #ffffff !important;
}
.btn-popup-act.btn-gmaps:hover { background: #044b63; }

.btn-popup-act.btn-transit {
    background: #0284c7;
    color: #ffffff !important;
    border: none;
}
.btn-popup-act.btn-transit:hover {
    background: #0369a1;
}

.btn-popup-place-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-decoration: none !important;
    margin-top: 4px;
    padding: 3px 0;
    transition: color 0.2s;
}
.btn-popup-place-link:hover {
    color: #07698A;
    text-decoration: underline !important;
}

/* User Live Pin Marker */
.custom-user-dot-wrapper {
    background: transparent !important;
    border: none !important;
}
.user-live-pin {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.4);
    animation: userPulse 2s infinite ease-out;
}
@keyframes userPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .malls-workspace-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .malls-directory-panel {
        max-height: 480px;
    }
    .malls-map-canvas-wrap {
        min-height: 500px;
    }
    .malls-scope-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .malls-scope-select-wrap {
        max-width: 100%;
    }
    .type-filter-pill.pill-near-me {
        margin-inline-start: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .malls-workspace-grid {
        gap: 10px !important;
        margin-bottom: 10px !important;
    }
    .malls-directory-panel {
        padding: 10px 8px !important;
        border-radius: 12px !important;
        max-height: 440px !important;
    }
    .malls-map-frame {
        border-radius: 12px !important;
    }
    .malls-map-canvas-wrap {
        min-height: 440px !important;
    }
}

/* ==========================================================================
   Shopping Guides Modal & Companion Tools Styling
   ========================================================================== */

.btn-nav-companion {
    background: #ffffff;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-nav-companion:hover {
    background: #f1f5f9;
    border-color: #07698A;
    color: #07698A !important;
    transform: translateY(-1px);
}
.btn-nav-companion.accent-gold { border-color: #f59e0b; color: #b45309; }
.btn-nav-companion.accent-gold:hover { background: #fef3c7; }
.btn-nav-companion.accent-purple { border-color: #a855f7; color: #7e22ce; }
.btn-nav-companion.accent-purple:hover { background: #f3e8ff; }
.btn-nav-companion.accent-emerald { border-color: #10b981; color: #047857; }
.btn-nav-companion.accent-emerald:hover { background: #d1fae5; }

/* Modal Overlay - Optimized for Instant Opening */
.malls-guide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.72);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-sizing: border-box;
    will-change: opacity;
}
.malls-guide-modal-overlay.active {
    display: flex;
    animation: guideFadeIn 0.12s ease-out;
}
@keyframes guideFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.malls-guide-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1.5px solid #e2e8f0;
}

.guide-modal-header {
    background: linear-gradient(135deg, #07698A 0%, #044b63 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.guide-modal-title {
    font-size: 16.5px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-guide-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}
.btn-guide-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Modal Tabs */
.guide-modal-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 10px 0;
    gap: 6px;
    flex-shrink: 0;
    scrollbar-width: none;
}
.guide-modal-tabs::-webkit-scrollbar {
    display: none;
}
.guide-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.15s;
    flex-shrink: 0;
}
.guide-tab-btn:hover {
    color: #07698A;
}
.guide-tab-btn.active {
    color: #07698A;
    border-bottom-color: #07698A;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
}

/* Tab Panes */
.guide-tab-pane {
    display: none;
    padding: 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}
.guide-tab-pane.active {
    display: block;
}

.guide-pane-h3 {
    font-size: 15.5px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.guide-pane-intro {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 16px;
}

/* Tables with Mobile Horizontal Swipe */
.guide-table-wrap {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    margin-bottom: 14px;
}
.guide-table-title {
    background: #f1f5f9;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 900;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}
.guide-data-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}
.guide-data-table th {
    background: #f8fafc;
    color: #334155;
    padding: 9px 10px;
    font-weight: 800;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
}
.guide-data-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    white-space: nowrap;
}
.guide-data-table tr:last-child td {
    border-bottom: none;
}
.guide-data-table tr:hover td {
    background: #f8fafc;
}
.badge-size {
    background: #07698A;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 11px;
}

/* Cards Grid */
.guide-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}
.guide-info-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.guide-info-card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
}
.guide-info-card h4 {
    margin: 0 0 8px;
    font-size: 13.5px;
    font-weight: 900;
    color: #0f172a;
}
.guide-info-card p {
    margin: 0 0 6px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

/* Timeline */
.guide-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.timeline-item {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.timeline-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.timeline-content h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
}
.timeline-date {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #07698A;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
}
.timeline-content p {
    margin: 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

/* Tactics Box */
.guide-tactics-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px 18px;
}
.guide-tactics-box h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 900;
    color: #07698A;
}
.guide-tactics-box ol {
    margin: 0;
    padding-inline-start: 18px;
    font-size: 12px;
    color: #334155;
    line-height: 1.8;
}

/* ==========================================================================
   SMART METRO MODAL & POPUP BUTTONS
   ========================================================================== */
.btn-popup-act.btn-gmaps {
    background: #07698A;
    color: #ffffff !important;
}
.btn-popup-act.btn-gmaps:hover { background: #044b63; }

.btn-popup-act.btn-metro {
    background: #0284c7;
    color: #ffffff !important;
    border: none;
}
.btn-popup-act.btn-metro:hover { background: #0369a1; }

.btn-popup-act.btn-taxi {
    background: #d97706;
    color: #ffffff !important;
    border: none;
}
.btn-popup-act.btn-taxi:hover { background: #b45309; }

.smart-metro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.smart-metro-overlay.active {
    display: flex;
    opacity: 1;
}

.smart-metro-modal {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    animation: metroModalPop 0.25s ease-out;
}
@keyframes metroModalPop {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.smart-metro-header {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
}
.smart-metro-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.metro-icon-badge {
    font-size: 22px;
}
.smart-metro-title h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}
.smart-metro-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.smart-metro-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.smart-metro-body {
    padding: 16px 18px;
    overflow-y: auto;
}

.smart-metro-target-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.smart-metro-target-label {
    font-size: 11px;
    font-weight: 800;
    color: #0284c7;
    margin-bottom: 4px;
}
.smart-metro-target-name {
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
}
.smart-metro-target-meta {
    font-size: 11.5px;
    color: #475569;
    margin-top: 2px;
}
.smart-metro-station-box {
    margin-top: 8px;
    background: #ffffff;
    border: 1px dashed #7dd3fc;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.smart-metro-origin-box {
    margin-bottom: 16px;
}
.smart-metro-form-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}
.smart-metro-pills-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}
.metro-pill-btn {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.metro-pill-btn:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}
.metro-pill-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.smart-metro-origin-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}
.smart-metro-sub-switcher {
    display: flex;
    gap: 6px;
}
.metro-sub-pill {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
}
.metro-sub-pill.active {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1;
}

.smart-metro-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-metro-navigate-main {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    width: 100%;
}
.btn-metro-navigate-main:hover {
    background: #0369a1;
}
.btn-metro-network-link {
    background: #f1f5f9;
    color: #07698A !important;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-metro-network-link:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   Standard Tourist Toolkit Section (Image 2 - ott-bottom-tools)
   ========================================================================== */
.ott-bottom-tools-wrap {
    width: 100%;
    margin: 24px auto 8px auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}
.ott-bottom-tools-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    padding: 24px 20px 20px;
    text-align: center;
}
/* Compact spacing between bottom tools and feedback box */
.feedback-static-page-wrap {
    margin: 8px auto 25px auto !important;
}
.ott-bottom-tools-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.ott-bottom-tools-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
}
.ott-bottom-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.ott-bottom-tool-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all .2s ease;
    cursor: pointer !important;
    position: relative;
    z-index: 5;
    user-select: none;
    -webkit-user-select: none;
}
.ott-bottom-tool-pill * {
    pointer-events: none;
}
.ott-bottom-tool-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.ott-bottom-tool-pill.hub         { background: #f8fafc; color: #334155; border-color: #cbd5e1; }
.ott-bottom-tool-pill.planner     { background: #fdf4ff; color: #a21caf; border-color: #f5d0fe; }
.ott-bottom-tool-pill.transport   { background: #f0fdfa; color: #0f766e; border-color: #99f6e4; }
.ott-bottom-tool-pill.map         { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.ott-bottom-tool-pill.radar       { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.ott-bottom-tool-pill.emergency   { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.ott-bottom-tool-pill.catalog     { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.ott-bottom-tool-pill.taxi        { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.ott-bottom-tool-pill.taxfree     { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.ott-bottom-tool-pill.currency    { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.ott-bottom-tool-pill.cities      { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }
.ott-bottom-tool-pill.budget      { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.ott-bottom-tool-pill.calc        { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.ott-bottom-tool-pill.bill        { background: #fff1f2; color: #be123c; border-color: #fecdd3; }
.ott-bottom-tool-pill.prices      { background: #eef2ff; color: #4338ca; border-color: #c7d2fe; }
.ott-bottom-tool-pill.tips        { background: #ecfeff; color: #0891b2; border-color: #a5f3fc; }
.ott-bottom-tool-pill.insurance   { background: #ecfdf5; color: #0d9488; border-color: #a7f3d0; }
.ott-bottom-tool-pill.luggage     { background: #f0fdfa; color: #0891b2; border-color: #99f6e4; }
.ott-bottom-tool-pill.compensation{ background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }

@media (max-width: 640px) {
    .ott-bottom-tools-wrap {
        margin: 20px auto 15px auto !important;
        padding: 0 !important;
    }
    .ott-bottom-tools-card {
        padding: 20px 10px !important;
        border-radius: 16px !important;
    }
    .ott-bottom-tools-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important;
    }
    .ott-bottom-tools-card p {
        font-size: 0.82rem !important;
        margin-bottom: 16px !important;
        line-height: 1.4 !important;
    }
    .ott-bottom-tools-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .ott-bottom-tool-pill {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 6px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        text-align: center !important;
        white-space: normal !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        line-height: 1.3 !important;
        gap: 5px !important;
    }
    .ott-bottom-tools-grid .ott-bottom-tool-pill:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }
}

/* ==========================================================================
   GPS PROMPT MODAL, TOAST & USER PIN POPUP STYLING
   ========================================================================== */
.malls-map-toast {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-25px);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    font-weight: 700;
    z-index: 1060;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    text-align: center;
}
.malls-map-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.malls-toast-msg {
    line-height: 1.4;
}
.malls-toast-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}
.malls-toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* User Pin Popup Card */
.user-pin-popup-card {
    text-align: center;
    padding: 10px 14px;
    font-weight: 800;
    font-size: 12.5px;
}
.user-pin-title {
    color: #1d4ed8;
    margin-bottom: 3px;
    font-size: 13.5px;
    font-weight: 800;
}
.user-pin-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.35;
}

/* GPS Modal Card */
.malls-gps-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: gpsModalPopUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
    position: relative;
    z-index: 1000000;
}
@keyframes gpsModalPopUp {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

.malls-gps-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}
.malls-gps-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.malls-gps-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.malls-gps-modal-title-wrap h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}
.malls-gps-modal-body {
    padding: 20px;
}
.malls-gps-prompt-msg {
    margin: 0 0 12px 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
    font-weight: 600;
}
.malls-gps-sub-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
}
.malls-gps-actions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-gps-action {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.18s ease;
    border: 1.5px solid transparent;
    text-align: start;
    box-sizing: border-box;
}
.btn-gps-action i {
    font-size: 15px;
    flex-shrink: 0;
}
.btn-gps-action-manual {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.btn-gps-action-manual:hover {
    background: #dbeafe;
    transform: translateY(-1px);
}
.btn-gps-action-stay {
    background: #f8fafc;
    color: #334155;
    border-color: #cbd5e1;
}
.btn-gps-action-stay:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}
.btn-gps-action-retry {
    background: #ffffff;
    color: #059669;
    border-color: #a7f3d0;
}
.btn-gps-action-retry:hover {
    background: #ecfdf5;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .malls-map-toast {
        top: 56px;
        padding: 8px 14px;
        font-size: 12px;
    }
    .malls-gps-modal-card {
        width: 94%;
        border-radius: 16px;
    }
    .malls-gps-modal-header {
        padding: 14px 16px;
    }
    .malls-gps-modal-body {
        padding: 16px;
    }
    .btn-gps-action {
        padding: 10px 12px;
        font-size: 12.5px;
    }
}

