/* v6.9.11: Cinematic Flight Animations */
@keyframes flyRotate {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.05) rotate(1deg);
    }

    100% {
        transform: scale(1.1) rotate(2deg);
    }
}

#gez360-map-container.fly-rotating #gez360-map {
    animation: flyRotate 6s cubic-bezier(0.1, 0, 0.2, 1) forwards !important;
}

/* v9.17.0: SARSINTI KALDIRILDI - Kullanıcı isteği */
@keyframes cameraShake {

    0%,
    100% {
        transform: translate(0, 0);
    }
}

#gez360-map-container.fly-shaking #gez360-map {
    /* v9.17.0: SARSINTI DEVRE DIŞI */
    animation: none !important;
}

/* Cinematic Clouds */
#gez360-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 450;
    opacity: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    background-size: 200% 200%;
    transition: opacity 1.5s ease, transform 2s ease;
}

#gez360-clouds.active {
    opacity: 0.7;
    animation: cloudFlow 15s linear infinite;
}

#gez360-clouds.dissolve {
    opacity: 0;
    transform: scale(1.5);
}

@keyframes cloudFlow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* v6.9.3: Zoom-In Vignette Effect (No blur during zoom-out) */
#gez360-motion-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    opacity: 0;
    z-index: 500;
    transition: opacity 0.4s ease;
}

#gez360-motion-blur.active {
    opacity: 1;
}

/* v9.5.5: SPEED LINES (Hyperspace Jump Effect) */
#gez360-speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 510;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

#gez360-speed-lines.active {
    opacity: 1;
}

/* Radial speed lines from center */
#gez360-speed-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background:
        repeating-conic-gradient(from 0deg,
            transparent 0deg,
            transparent 3deg,
            rgba(255, 255, 255, 0.15) 3deg,
            rgba(255, 255, 255, 0.15) 4deg);
    animation: speedLinesRotate 0.5s linear infinite;
}

#gez360-speed-lines::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow:
        0 0 60px 30px rgba(255, 255, 255, 0.3),
        0 0 100px 60px rgba(255, 255, 255, 0.2),
        0 0 140px 90px rgba(255, 255, 255, 0.1);
    animation: speedLinesZoom 0.8s ease-out forwards;
}

#gez360-speed-lines.active::after {
    animation: speedLinesZoom 0.8s ease-out forwards;
}

@keyframes speedLinesRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes speedLinesZoom {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

/* v9.5.6: HAFİF RADIAL MOTION BLUR - Gri alanları gizler, ortada net */
#gez360-warp-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 505;
    opacity: 0;
    transition: opacity 0.4s ease;
    /* Radial gradient mask: Ortada şeffaf, kenarlarda blur */
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, transparent 30%, black 70%);
    mask-image: radial-gradient(ellipse 60% 60% at center, transparent 30%, black 70%);
    backdrop-filter: blur(8px);
    /* BLUR ARTIRILDI: 8px */
    -webkit-backdrop-filter: blur(8px);
    background: radial-gradient(ellipse at center,
            transparent 0%,
            transparent 40%,
            rgba(20, 30, 50, 0.2) 70%,
            rgba(10, 20, 40, 0.35) 100%);
}

#gez360-warp-blur.active {
    opacity: 1;
}

/* Pulse ring animation for target location - smaller, under marker */
#gez360-target-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 152, 0, 0.9);
    /* Warm amber/orange */
    border-radius: 50%;
    pointer-events: none;
    z-index: 400;
    /* Under markers */
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: none;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.5);
}

#gez360-target-pulse.active {
    animation: gez360-pulse-ring 1.2s ease-out forwards;
}

@keyframes gez360-pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Sidebar Container - Compact per user request */
/* Sidebar (Card List on Right)
   Position: FIXED right: 0;
   Width: 320px (desktop) - NARROWED per user request
   Transform: translateX(100%) when .hidden (slides TO THE RIGHT, off-screen)
*/
.gez360-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 240px !important;
    /* Kullanıcı isteği: 240px */
    height: 100vh;
    background: rgb(235 242 245 / 95%) !important;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10001;
    transition: transform 0.3s;
    padding: 30px !important;
    /* Kenar dolguları 30px'e çıkarıldı */
    box-sizing: border-box !important;
}

/* Hide Redundant Close Button in Sidebar (User Request #5) */
.gez360-sidebar-close {
    display: none !important;
}

.gez360-sidebar.active {
    right: 0;
}

/* Sidebar HIDDEN state - slides off-screen to the right */
.gez360-sidebar.hidden {
    transform: translateX(100%) !important;
}

/* Sidebar List Wrapper - padding satır 3504'te tanımlı */
.gez360-sidebar-list {
    /* Diğer padding değerleri */
}

/* Sidebar Card Styling */
.gez360-sidebar .gez360-card-col {
    padding: 0;
}

.gez360-sidebar .gez360-card-item {
    margin-bottom: 20px !important;
    background: #e0e5ec !important;
    /* Neumorphic base color */
    border-radius: 20px !important;
    overflow: hidden !important;
    /* Marquee taşmasını keser */
    width: 100% !important;
    /* Sidebar dolgusu dışındaki alanı tam doldurur */
    aspect-ratio: 1 / 1 !important;
    /* Dört kenarı eşit (Kare) */
    box-sizing: border-box !important;
    /* NEUMORPHIC SHADOW - Soft outer shadow */
    box-shadow:
        9px 9px 16px rgba(163, 177, 198, 0.6),
        -9px -9px 16px rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    position: relative;
    z-index: 1;
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Force removal of any gray background from internal containers */
.gez360-sidebar .gez360-card-item>div,
.gez360-sidebar .gez360-card-item .gez360-info-wrapper {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Inner card - NEUMORPHIC INSET (like the image) */
.gez360-sidebar .gez360-card-item .gez360-card {
    background: #e0e5ec !important;
    border-radius: 15px !important;
    overflow: hidden;
    /* NEUMORPHIC INSET - dıştan içe doğru kabartma */
    box-shadow:
        inset 5px 5px 10px rgba(163, 177, 198, 0.5),
        inset -5px -5px 10px rgba(255, 255, 255, 0.6) !important;
    padding: 10px !important;
}

.gez360-sidebar .gez360-card-item:hover {
    transform: translateY(-5px);
    z-index: 10;
}

/* Description Area - No z-index so border animation shows around card */
.gez360-sidebar .gez360-card-item .desc {
    padding: 8px 12px !important;
    /* Reduced padding for compact design */
    background: transparent;
    /* Transparent so border shows */
    border-radius: 0 0 8px 8px;
    position: relative;
}

/* Inner card - fully transparent now */
.gez360-sidebar .gez360-card {
    background: transparent !important;
    background-color: transparent !important;
    overflow: hidden !important;
    width: 100% !important;
}

.gez360-sidebar .gez360-card .content {
    background: transparent !important;
    /* FORCE TRANSPARENT */
    border-radius: 0 0 6px 6px;
    padding: 4px 8px !important;
    /* Tighter padding */
    min-width: 0 !important;
    /* Başlığın kartı genişletmesini engeller */
}

.gez360-sidebar .gez360-card-item .name,
.gez360-sidebar .gez360-card-item .title {
    font-size: 15px !important;
    font-weight: 700;
    color: #252525;
    margin: 2px 0 0px 0 !important;
    /* MARQUEE CONTAINER - GENİŞLEMEYİ ENGELLER */
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    position: relative;
    box-sizing: border-box !important;
}

/* Marquee wrapper - JS tarafından eklenir */
.gez360-sidebar .gez360-card-item .name .marquee-inner,
.gez360-sidebar .gez360-card-item .title .marquee-inner {
    display: inline-block !important;
    white-space: nowrap !important;
    padding-right: 30px;
    animation: gez360-marquee 10s ease-in-out infinite;
}

@keyframes gez360-marquee {

    0%,
    30% {
        transform: translateX(0);
    }

    /* 3 saniye bekle (10s'in %30'u) */
    70% {
        transform: translateX(calc(-100% + 190px));
    }

    /* Sona kadar kay (190px tahmini görünür alan) */
    100% {
        transform: translateX(0);
    }

    /* Başa dön */
}

.gez360-sidebar .gez360-card-item .text {
    font-size: 12px !important;
    color: #777;
    margin-bottom: 8px !important;
    /* Reduced space before buttons */
    line-height: 1.4 !important;
}

.gez360-sidebar .gez360-card-item .category {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

/* =========================================
   SQUARE ROTATING BORDER ANIMATION (WHOLE CARD)
   ========================================= */

/* Image Wrapper - NEUMORPHIC: Gri arkaplan kaldırıldı */
.gez360-sidebar .gez360-card-item .image {
    position: relative;
    padding: 0;
    margin: 0;
    background: transparent !important;
    border-radius: 15px;
    overflow: visible;
    z-index: 2;
}

/* Media wrapper - NEUMORPHIC: Transparent - GRİ ARKAPLAN TAMAMEN KALDIRILDI */
.gez360-sidebar .gez360-card-item .media,
.gez360-sidebar .gez360-card-item .gez360-card-media,
.gez360-sidebar .gez360-card-item .media.gez360-card-media,
.gez360-sidebar .media.gez360-card-media,
.media.gez360-card-media {
    background: transparent !important;
    background-color: transparent !important;
}

/* Card Logo / Image Styling - ULTIMATE INCREASE TO 95PX */
/* Multiple selectors for maximum specificity */
.gez360-sidebar .gez360-card-item .gez360-card-media img,
.gez360-sidebar .gez360-item .media img,
.gez360-sidebar .gez360-card-media img.img-responsive,
.gez360-sidebar .media.gez360-card-media img,
.gez360-sidebar-list .gez360-card-media img {
    width: 95px !important;
    height: 95px !important;
    min-width: 95px !important;
    min-height: 95px !important;
    max-width: 95px !important;
    max-height: 95px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: none !important;
    /* NEUMORPHIC INSET SHADOW - Resimdeki iç yuvarlak gibi */
    box-shadow:
        inset 4px 4px 8px rgba(163, 177, 198, 0.6),
        inset -4px -4px 8px rgba(255, 255, 255, 0.5),
        6px 6px 12px rgba(163, 177, 198, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.3) !important;
    margin: 10px auto !important;
    display: block !important;
    transition: all 0.6s ease !important;
}

/* Logo Hover Animation - 360° Rotation + Scale Down + NEUMORPHIC INSET */
.gez360-sidebar .gez360-card-item:hover .gez360-card-media img,
.gez360-sidebar .gez360-card-item:hover .media img {
    transform: rotate(360deg) scale(0.85) !important;
    /* NEUMORPHIC INSET SHADOW - Resimdeki iç yuvarlak gibi */
    box-shadow:
        inset 4px 4px 8px rgba(163, 177, 198, 0.6),
        inset -4px -4px 8px rgba(255, 255, 255, 0.5),
        6px 6px 12px rgba(163, 177, 198, 0.4),
        -6px -6px 12px rgba(255, 255, 255, 0.3) !important;
}

/* The Animated Border - 4PX EDGE STRIP ONLY */
.gez360-sidebar .gez360-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 8px;
    border: 4px solid transparent;
    /* 4px kenar şeridi */
    background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71, #f1c40f) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gez360-sidebar .gez360-card-item:hover::before {
    opacity: 1;
}


/* Specific Classes applied to .works-item */

/* 0. NONE - No border animation */
.gez360-border-none::before {
    display: none !important;
}

/* 1. Red & White Stripes Pattern */
.gez360-border-red_white::before {
    background-image: repeating-linear-gradient(45deg,
            #e74c3c,
            #e74c3c 50px,
            #ffffff 50px,
            #ffffff 100px);
}

/* 2. Google Colors Pattern - Kırmızı, Mavi, Yeşil (Sarı iptal) */
.gez360-border-google::before {
    background-image: repeating-linear-gradient(45deg,
            #e74c3c, #e74c3c 50px,
            #4285F4 50px, #4285F4 100px,
            #34A853 100px, #34A853 150px);
}

/* 3. Black & White Pattern - DOUBLED THICKNESS */
.gez360-border-bw::before {
    background-image: repeating-linear-gradient(45deg,
            #000000,
            #000000 50px,
            #ffffff 50px,
            #ffffff 100px);
}

/* Hover Animation Trigger */
.gez360-sidebar .gez360-card-item:hover::before {
    opacity: 1;
    animation: gez360-border-slide 1s linear infinite;
}

@keyframes gez360-border-slide {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 0;
    }
}

/* Image Styling - REDUCED HEIGHT for more visible cards */
.gez360-sidebar .gez360-card-item .image img,
.gez360-sidebar .gez360-card-item .media img {
    height: 140px !important;
    max-height: 140px !important;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

/* =========================================
   MAP & CONTROLS LAYOUT 
   ========================================= */

body.gez360-map-fullscreen .gez360-map {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
    display: block !important;
    opacity: 1 !important;
}

.gez360-map-hidden {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
}

.gez360-map-visible {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

/* ==============================================
   PC/TABLET SIDEBAR CARD YENİ TASARIM
   ============================================== */

@media screen and (min-width: 768px) {

    /* v5.3.3: Sidebar kartları sadeleştirildi - Sadece logo + başlık */
    .gez360-sidebar .gez360-card-item {
        margin-bottom: 8px;
        background: transparent !important;
        border-radius: 8px;
        overflow: visible !important;
        box-shadow: none !important;
        /* v5.3.3: Gölge kaldırıldı */
        transition: transform 0.3s ease;
        padding: 0 !important;
        position: relative;
        z-index: 1;
    }

    /* Border animasyon ::before (eşit padding 4px her kenarda) */
    .gez360-sidebar .gez360-card-item::before {
        content: '';
        position: absolute;
        top: -4px;
        right: -4px;
        bottom: -4px;
        left: -4px;
        z-index: -1;
        border-radius: 12px;
        background-size: 50px 50px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gez360-sidebar .gez360-card-item.gez360-border-google::before {
        background-image: repeating-linear-gradient(45deg,
                #e74c3c, #e74c3c 50px,
                #4285F4 50px, #4285F4 100px,
                #34A853 100px, #34A853 150px);
    }

    .gez360-sidebar .gez360-card-item.gez360-border-red_white::before {
        background-image: repeating-linear-gradient(45deg,
                #e74c3c, #e74c3c 50px,
                #ffffff 50px, #ffffff 100px);
    }

    .gez360-sidebar .gez360-card-item.gez360-border-bw::before {
        background-image: repeating-linear-gradient(45deg,
                #000000, #000000 50px,
                #ffffff 50px, #ffffff 100px);
    }

    .gez360-sidebar .gez360-card-item:hover::before {
        opacity: 1;
        animation: gez360-border-slide 1s linear infinite;
    }

    .gez360-sidebar .gez360-card-item:hover {
        transform: translateY(-3px);
        z-index: 10;
    }

    /* v5.3.3: Gri iç konteyner KALDIRILDI - Şeffaf */
    .gez360-sidebar .gez360-card-item>div {
        background: transparent !important;
        border-radius: 8px;
        padding: 0;
    }

    /* v5.3.3: İç kart şeffaf */
    .gez360-sidebar .gez360-card-item .gez360-card {
        background: transparent !important;
        border-radius: 6px;
        overflow: hidden;
    }

    /* v5.3.3: Logo alanı - GRİ ARKAPLAN KALDIRILDI */
    .gez360-sidebar .gez360-card-item .media,
    .gez360-sidebar .gez360-card-item .image,
    .gez360-sidebar .gez360-card-item .gez360-card-media {
        width: 100%;
        height: auto !important;
        background: transparent !important;
        background-color: transparent !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 5px;
        border-radius: 0;
        overflow: hidden;
        position: relative;
    }

    /* v5.3.3: Logo boyutu küçültüldü */
    .gez360-sidebar .gez360-card-item .media img,
    .gez360-sidebar .gez360-card-item .image img {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        border-radius: 50% !important;
        object-fit: cover;
        border: 2px solid #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        animation: none !important;
    }

    /* v5.3.3: İçerik sadeleştirildi */
    .gez360-sidebar .gez360-card .content {
        background: transparent !important;
        padding: 4px 2px !important;
        text-align: center;
        border-radius: 0;
    }

    /* v5.3.3: Başlık font küçültüldü */
    .gez360-sidebar .gez360-card-item .title {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #333;
        margin: 0 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.3 !important;
    }

    /* Kategori gizle */
    .gez360-sidebar .gez360-card-item .category {
        display: none !important;
    }

    /* v5.3.3: Footer/Actions gizle - butonlar popup'a taşındı */
    .gez360-sidebar .gez360-card-item .footer,
    .gez360-sidebar .gez360-card-item .actions {
        display: none !important;
    }
}

/* MOBILE SIDEBAR - HORIZONTAL BOTTOM SHEET */
@media screen and (max-width: 767px) {

    /* Sidebar at bottom - FLUSH with toolbar */
    .gez360-sidebar {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        /* Auto height to fit content + padding */
        min-height: 200px !important;
        /* Ensure enough space */
        padding: 25px 10px 0px 10px !important;
        /* REQUEST 1: Top padding increased */
        background: transparent !important;
        /* v5.2.4: Sidebar BG */
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        /* v6.9.11: Allow pod to show */
        white-space: nowrap !important;
        z-index: 1100 !important;
        display: block !important;
        pointer-events: none !important;
        /* Click through to map if needed */
        /* SCROLLBAR VISIBLE (Thin) */
        scrollbar-width: thin !important;
        scrollbar-color: #ccc transparent !important;
        transition: transform 0.3s ease-in-out, height 0.3s ease-in-out, padding 0.3s ease-in-out !important;
        /* v5.2.2: Slide effect */
    }

    /* Visible Scrollbar Styling */
    .gez360-sidebar::-webkit-scrollbar {
        height: 4px !important;
        display: block !important;
    }

    .gez360-sidebar::-webkit-scrollbar-track {
        background: transparent !important;
    }

    .gez360-sidebar::-webkit-scrollbar-thumb {
        background: #ccc !important;
        border-radius: 4px !important;
    }

    .gez360-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }

    .gez360-sidebar.active {
        transform: none !important;
    }

    /* v5.2.3: HIDE SIDEBAR (Slide Down) */
    .gez360-sidebar.cards-hidden {
        transform: translateY(100%) !important;
    }

    /* Sidebar list horizontal - With Padding for Shadows */
    .gez360-sidebar .gez360-sidebar-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 15px !important;
        padding: 60px 5px 110px 5px !important;
        /* v6.9.11: Lifted cards much higher for pod top limit */
        margin: 0 auto !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        z-index: 1500 !important;
        /* Above Pod */
        position: relative !important;
        pointer-events: auto !important;
    }

    .gez360-sidebar .gez360-sidebar-list::-webkit-scrollbar {
        height: 4px !important;
        display: block !important;
    }

    .gez360-sidebar .gez360-sidebar-list::-webkit-scrollbar-thumb {
        background: #ccc !important;
        border-radius: 4px !important;
    }

    /* WIDER MOBILE CARDS (~2 per screen) */
    .gez360-sidebar .gez360-card-item {
        display: inline-block !important;
        width: 155px !important;
        /* REQUEST 1: Reduced from 170px to 155px */
        min-width: 155px !important;
        flex-shrink: 0 !important;
        white-space: normal !important;
        vertical-align: top !important;
        margin-bottom: 0 !important;
        margin-right: 0 !important;
        /* Handled by gap */
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
    }

    /* v5.2.4: Inner Card Backup Rule */
    .gez360-sidebar .gez360-card-item .gez360-card {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* HIDE animation border on mobile */
    .gez360-sidebar .gez360-card-item::before {
        display: none !important;
    }

    /* Image 100% width - STRETCH TO SIDES */
    .gez360-sidebar .gez360-card-item .media {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 55px !important;
        overflow: hidden !important;
    }

    .gez360-sidebar .gez360-card-item .media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 6px 6px 0 0 !important;
        display: block !important;
        transform: scale(1.05);
        /* Increased stretch/zoom for full bleed */
    }

    /* Logo - STATIC, 25px, ABOVE ALL */
    .gez360-sidebar .gez360-overlay-icon {
        position: absolute !important;
        top: -10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 500 !important;
    }

    .gez360-sidebar .gez360-overlay-icon img {
        max-height: 25px !important;
        max-width: 25px !important;
        position: relative !important;
        z-index: 500 !important;
        transition: transform 0.3s ease !important;
        border-radius: 50% !important;
        background: #fff !important;
        padding: 2px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
        /* NO animation - logo is STATIC */
    }

    /* v5.1.0: Mobile Logo Animation (matching PC/Tablet hover) */
    .gez360-sidebar .gez360-card-item .gez360-card-media img,
    .gez360-sidebar .gez360-card-item .media img,
    .gez360-sidebar .gez360-overlay-icon img {
        transition: all 0.6s ease !important;
    }

    /* Touch PRESS: Rotate 360 + Scale down */
    .gez360-sidebar .gez360-card-item.pressing .gez360-card-media img,
    .gez360-sidebar .gez360-card-item.pressing .media img,
    .gez360-sidebar .gez360-overlay-icon img.pressing {
        transform: rotate(360deg) scale(0.9) !important;
        box-shadow: none !important;
    }

    /* Touch RELEASE: Just Reset Scale, KEEP Rotation (No reverse spin) */
    .gez360-sidebar .gez360-card-item.releasing .gez360-card-media img,
    .gez360-sidebar .gez360-card-item.releasing .media img,
    .gez360-sidebar .gez360-overlay-icon img.releasing {
        transform: rotate(360deg) scale(1) !important;
        /* Keep rotated state */
    }

    /* Title - BELOW logo */
    .gez360-sidebar .gez360-card-item .title {
        font-size: 9px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        padding-top: 15px !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Content area compact */
    .gez360-sidebar .gez360-card .content {
        padding: 4px !important;
    }

    /* Title smaller */
    .gez360-sidebar .gez360-card-item .title {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin: 2px 0 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* HIDE category in mobile */
    .gez360-sidebar .gez360-card-item .category {
        display: none !important;
    }

    /* ICON-ONLY buttons side by side */
    .gez360-sidebar .actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 2px !important;
        /* REDUCED gap */
        margin-top: 2px !important;
        /* REDUCED margin */
    }

    .gez360-sidebar .gez360-btn-review,
    .gez360-sidebar .gez360-btn-directions {
        width: 50% !important;
        padding: 2px 0 !important;
        /* REDUCED: Smaller buttons for compact cards */
        font-size: 0 !important;
        /* Hide text */
        justify-content: center !important;
    }

    /* Show only icons - BIGGER */
    .gez360-sidebar .gez360-btn-review i,
    .gez360-sidebar .gez360-btn-directions i {
        font-size: 16px !important;
        margin: 0 !important;
    }

    /* Mobil Kapat Butonu - Sadece X, yuvarlak */
    #gez360-close-map {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 100005 !important;
        background: #fff !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        /* YUVARLAK */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        font-size: 18px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Mobil: +/- Zoom gizle */
    .leaflet-control-zoom,
    .leaflet-control-zoom-in,
    .leaflet-control-zoom-out {
        display: none !important;
    }

    /* Mobil: Reset KAPAT BUTUNUNUN SOLUNA, tek satır */
    .gez360-map-controls-top-left {
        position: fixed !important;
        top: 15px !important;
        right: 60px !important;
        /* Kapat butonunun solunda */
        left: auto !important;
        bottom: auto !important;
        flex-direction: row !important;
        gap: 8px !important;
        z-index: 10003 !important;
    }

    /* Reset button mobil override */
    #gez360-reset-map {
        position: static !important;
    }

    /* Mobil: Kapat butonu ÜSTTE SAĞ - circular X */
    .gez360-map-controls-bottom-left {
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 10003 !important;
    }

    .gez360-btn-close {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .gez360-close-text {
        display: none !important;
    }

    .gez360-btn-close i {
        margin: 0 !important;
    }

    /* Mobil: Sidebar Toggle - Minimal, yukarı/aşağı ok */
    .gez360-sidebar-toggle {
        position: absolute;
        top: 10px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
    }

    .gez360-sidebar-toggle i {
        font-size: 16px !important;
        transform: rotate(90deg) !important;
        /* Down arrow */
    }

    .gez360-sidebar.hidden~.gez360-sidebar-toggle {
        position: fixed !important;
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .gez360-sidebar.hidden~.gez360-sidebar-toggle i {
        transform: rotate(-90deg) !important;
        /* Up arrow */
    }

    /* Mobil sidebar bottom positioning */
    .gez360-sidebar {
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 60vh !important;
    }

    .gez360-sidebar.hidden {
        transform: translateY(100%) !important;
    }

    /* Redundant mobile toggles styles removed */
}

/* Pin Size Reduction */
.leaflet-div-icon,
.leaflet-marker-icon {
    /* Standard sizing handled by JS iconSize */
}

/* Mobile Responsive Only (<768px) - User Request #6 */
/* Consistently handle map controls in the main mobile block above */

/* Card Sizing - Make smaller (User Request #3) */
.gez360-card .media img {
    height: 160px;
    /* Reduced from default/responsive */
    object-fit: cover;
}

.gez360-card .content {
    padding: 10px 15px;
    /* Tighter padding */
}

.gez360-card .header .title {
    font-size: 16px;
}

/* Marker Icon & Pin Styling (v6.11.0-stable) */
.leaflet-marker-icon {
    margin-top: -36px !important;
    width: 36px !important;
    height: 36px !important;
}

.leaflet-div-icon {
    width: 44px !important;
    height: 44px !important;
    margin-left: -22px !important;
    margin-top: -42px !important;
    background: transparent;
    border: none;
}

.leaflet-div-icon i {
    z-index: 10;
    position: relative;
    color: #fff;
    font-size: 18px !important;
    line-height: 44px;
    text-align: center;
    width: 44px;
    display: block;
}

.leaflet-marker-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    z-index: -1;
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.2);
    background: #17202A;
}

.leaflet-marker-pin:after {
    width: 24px !important;
    height: 24px !important;
    margin: -12px 0 0 -12px !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.leaflet-marker-pin-border {
    width: 44px !important;
    height: 44px !important;
    margin: -22px 0 0 -22px !important;
}

/* Border Animation Fix - Only Around Box/Image (User Request #6) */
.gez360-card {
    position: relative;
    overflow: visible !important;
    /* Allow border to show */
    z-index: 1;
    /* Base z-index */
}

/* Apply border specifically to the card container or image wrapper if preferred, 
   but user asked for "box animation". We'll keep it on the card but fix Z-index ordering. */
.gez360-card:before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    /* BEHIND the card content */
    background-size: 50px 50px;
    animation: none;
    opacity: 0;
    border-radius: 6px;
    transition: opacity 0.3s;
}

.gez360-card-item.gez360-border-red_white .gez360-card:before {
    background-image: linear-gradient(45deg, #FF0000 25%, #ffffff 25%, #ffffff 50%, #FF0000 50%, #FF0000 75%, #ffffff 75%, #ffffff 100%);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.gez360-card-item.gez360-border-google .gez360-card:before {
    background-image: linear-gradient(45deg, #4285F4 25%, #EA4335 25%, #EA4335 50%, #34A853 50%, #34A853 75%, #4285F4 75%, #4285F4 100%);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.3);
}

.gez360-card-item.gez360-border-bw .gez360-card:before {
    background-image: linear-gradient(45deg, #000000 25%, #ffffff 25%, #ffffff 50%, #000000 50%, #000000 75%, #ffffff 75%, #ffffff 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* İÇ ANİMASYON KALDIRILDI - Çift animasyon sorununu çözmek için */
/* .gez360-card-item:hover .gez360-card:before,
.gez360-card.active:before {
    animation: gez360-border-slide 2s linear infinite;
    opacity: 1;
} */

/* Ensure Text is Readable over any background */
.gez360-card .content {
    background: #fff;
    position: relative;
    z-index: 2;
    /* ABOVE the border */
    border-radius: 0 0 4px 4px;
}

.gez360-card .media {
    position: relative;
    z-index: 2;
    border-radius: 4px 4px 0 0;
}

/* Zoom kontrolleri - SOL ALT, Sidebar ÜSTÜNDE */
.leaflet-control-zoom {
    position: fixed !important;
    top: auto !important;
    left: 20px !important;
    right: auto !important;
    bottom: 40px !important;
    margin: 0 !important;
    z-index: 10002 !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.leaflet-bar a {
    background-color: #fff !important;
    color: #333 !important;
    border-bottom: 1px solid #eee !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

/* .gez360-map-controls-top-left ve .gez360-btn-reset - Satır 1698-1730'da tanımlı, buradan kaldırıldı */

/* 3. Haritayı Kapat - PC SAĞ ÜST */
.gez360-map-controls-bottom-left {
    position: fixed;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10002 !important;
}

/* .gez360-btn-close - Satır 1770-1796'da tanımlı, buradan kaldırıldı */

/* =========================================
   SIDEBAR TOGGLE BUTTON
   ========================================= */
/* PC: Sidebar kenarında, ortada */
.gez360-sidebar-toggle {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: #fff;
    border: none;
    width: 80px;
    height: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gez360-sidebar-toggle:hover {
    background: #f8f8f8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.gez360-sidebar-toggle i {
    font-size: 14px;
    color: #333;
    transition: transform 0.3s ease;
}

/* Sidebar gizliyken - slides RIGHT, toggle ekranın altında ortada */
.gez360-sidebar.hidden~.gez360-sidebar-toggle {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
}

.gez360-sidebar.hidden~.gez360-sidebar-toggle i {
    transform: rotate(180deg);
    /* Ok ters döner (aç) */
}

/* Directions & Review Button Styles (User Phase 7 - Aesthetic Update) */
.gez360-btn-review,
.gez360-btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    /* Smaller padding */
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    /* Smaller font */
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    flex: 1;
    /* Equal width */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gez360-btn-review i,
.gez360-btn-directions i {
    margin-right: 6px;
    transition: color 0.3s;
}

.gez360-btn-review i {
    color: #ffb400;
    /* Gold Star */
}

.gez360-btn-directions i {
    color: #4285F4;
    /* Blue Direction */
}

/* Hover Effect: Black BG, White Text */
.gez360-btn-review:hover,
.gez360-btn-directions:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* KAPAT BUTONU - ÖZEL KURAL */
button#gez360-close-map:hover {
    background-color: #000000 !important;
    /* Siyah arkaplan */
    color: #ffffff !important;
    /* Beyaz yazı */
    border-color: #000000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* İkon rengi hover'da değişmeyecek - sadece buton arkaplanı siyah olacak */

.gez360-btn-review:hover i,
.gez360-btn-directions:hover i {
    color: #fff;
    /* Icons turn white on black bg */
}

/* Website Button Style */
.gez360-btn-website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.gez360-btn-website i {
    color: #333;
    margin-right: 4px;
}

.gez360-btn-website:hover {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

.gez360-btn-website:hover i {
    color: #fff;
}

/* Equal sizing for 3-column buttons - REDUCED PADDING */
.gez360-btn-review,
.gez360-btn-directions {
    flex: 1;
    padding: 5px 8px;
    font-size: 11px;
}

/* Ensure popup hover icon transitions work */

/* Sidebar Close X (Top Right of Sidebar) - HIDDEN via Line 19 */
.gez360-sidebar-close {
    /* display: none !important; */
}

/* Header Launch Button */
.gez360-launch-header.gez360-header-with-map {
    width: 100%;
    height: 250px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

#gez360-header-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gez360-launch-btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.gez360-launch-btn-text {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #252525;
    transition: all 0.3s ease;
}

.gez360-launch-btn:hover .gez360-launch-btn-text {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #000;
}

.gez360-launch-btn i {
    margin-right: 12px;
    font-size: 18px;
    color: #252525;
}

.gez360-launch-btn:hover i {
    color: #000;
}

/* Dark Category Pins */
.gez360-cat-google-sanal-tur .leaflet-marker-pin,
.gez360-cat-google-sanal-tur .leaflet-div-icon:hover .leaflet-marker-pin {
    background-color: #145A32;
}

.gez360-cat-matterport .leaflet-marker-pin,
.gez360-cat-matterport .leaflet-div-icon:hover .leaflet-marker-pin {
    background-color: #922B21;
}

.leaflet-marker-pin {
    background-color: #17202A;
}

.leaflet-div-icon {
    width: 44px !important;
    height: 44px !important;
    margin-left: -22px !important;
    margin-top: -42px !important;
    background: transparent;
    border: none;
}

.leaflet-div-icon i {
    z-index: 10;
    position: relative;
    color: #fff;
    line-height: 44px;
    text-align: center;
    width: 44px;
    display: block;
}

.leaflet-marker-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    z-index: -1;
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.2);
    background: #fff;
}

/* =========================================
   POPUP STYLING POLISH
   ========================================= */

/* Centered Icon Overlay on Popup Image */
/* Specificity Boost: .leaflet-popup-content .popup-img ... */
.gez360-map-popup .popup-img {
    position: relative !important;
    border-radius: 8px 8px 0 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.gez360-popup-overlay-center {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    box-shadow: none !important;
    z-index: 99 !important;
}

/* CSS Hover for popup icon - more reliable than JS */
.gez360-hover-icon {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.popup-img:hover .gez360-hover-icon,
.gez360-map-popup .popup-img:hover .gez360-hover-icon,
.media:hover .gez360-overlay-icon img {
    opacity: 1 !important;
}

.gez360-popup-overlay-center i {
    font-size: 20px !important;
    display: block !important;
    margin-right: 3px !important;
    line-height: 1 !important;
}

.gez360-map-popup .popup-img img {
    border-radius: 8px 8px 0 0 !important;
    width: 100% !important;
    display: block !important;
}

/* Top Right Close Button Polish */
.leaflet-container a.leaflet-popup-close-button {
    width: 34px !important;
    /* Slightly Larger */
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    top: -12px !important;
    /* Push it out a bit more */
    right: -12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border: 2px solid #fff !important;
    opacity: 1 !important;
    padding: 0 !important;
    line-height: 30px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* Uppercase Category with Spacing */
.gez360-map-popup .popup-category {
    display: block;
    margin-top: 5px;
    /* Spacing */
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    /* Requested Uppercase */
    letter-spacing: 1px;
    color: #999;
}

.gez360-map-popup h5 {
    margin: 5px 0 5px 0;
    font-size: 16px;
    /* Slightly bigger */
    font-weight: 700;
    line-height: 1.4;
}

/* Popup Styling Revisions */
.popup-category {
    color: #000 !important;
    /* FIXED: Category to black */
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
    line-height: 1.6 !important;
    /* FIXED: Increased line-height */
}

/* v5.3.3: Popup genişletildi */
.gez360-map-popup {
    width: 250px !important;
}

/* Popup image full width */
.gez360-map-popup .popup-img {
    padding: 0 !important;
    margin: 0 !important;
}

.gez360-map-popup .popup-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px 8px 0 0 !important;
}

/* Reduce popup content gaps */
.gez360-map-popup .popup-content {
    padding: 5px 8px !important;
}

.gez360-map-popup h5 {
    margin: 2px 0 !important;
    font-size: 12px !important;
}

.gez360-map-popup .popup-category {
    margin: 2px 0 !important;
    font-size: 8px !important;
}

.gez360-map-popup .popup-address {
    font-size: 10px !important;
    margin: 0 !important;
}

/* v5.3.3: Popup Butonları */
.gez360-map-popup .popup-actions {
    display: flex !important;
    gap: 6px !important;
    margin-top: 8px !important;
    padding: 4px 0 !important;
}

.gez360-map-popup .gez360-btn-review,
.gez360-map-popup .gez360-btn-directions {
    flex: 1;
    padding: 6px 8px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.gez360-map-popup .gez360-btn-review i {
    color: #ffb400;
    margin-right: 4px;
    font-size: 10px;
}

.gez360-map-popup .gez360-btn-directions i {
    color: #4285F4;
    margin-right: 4px;
    font-size: 10px;
}

.gez360-map-popup .gez360-btn-review:hover,
.gez360-map-popup .gez360-btn-directions:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.gez360-map-popup .gez360-btn-review:hover i,
.gez360-map-popup .gez360-btn-directions:hover i {
    color: #fff;
}

/* ========== FINAL POLISH ========== */

/* Sidebar Media 100% Width */
.gez360-card .media,
.gez360-card-item .media {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gez360-card .media img,
.gez360-card-item .media img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Header Map Opacity */
#gez360-header-map {
    opacity: 0.7;
}

/* Popup PNG Perfect Centering - STATIONARY & ALWAYS VISIBLE */
.gez360-popup-overlay-center img,
.gez360-hover-icon {
    position: absolute !important;
    top: 40% !important;
    /* Center on image area */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    /* FIXED: Always visible */
    pointer-events: none !important;
    max-height: 50px !important;
    max-width: 50px !important;
    object-fit: contain !important;
    z-index: 100 !important;
}

/* Removal of hover dependency for popup icon */
.popup-img:hover .gez360-hover-icon,
.popup-img:hover .gez360-popup-overlay-center img {
    opacity: 1 !important;
}

/* WAVE EFFECT FOR SIDEBAR IMAGES (PC ONLY) */
@media screen and (min-width: 768px) {
    .gez360-sidebar .media {
        overflow: hidden;
        position: relative;
    }

    .gez360-sidebar .media::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        z-index: 2;
    }

    .gez360-sidebar .gez360-card-item:hover .media::after {
        animation: gez360-wave-effect 0.8s ease-out;
    }
}

@keyframes gez360-wave-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ========== STATIC MAP BACKGROUND + FADE EFFECT ========== */
.gez360-static-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* STATIC MAP IMAGE (Provided by user) */
    background-image: url('../istanbul-map-header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    /* Lowered opacity */
    transition: opacity 1s ease-in-out;
}

/* Hover Pan Animation Triggered via Class (JS) or standard CSS hover */
.gez360-static-map-bg.pan-anim {
    animation: gez360-pan-quick 2s ease-in-out forwards;
}

@keyframes gez360-pan-quick {
    0% {
        transform: scale(1) translate(0, 0);
    }

    25% {
        transform: scale(1.05) translate(10px, -5px);
    }

    50% {
        transform: scale(1.05) translate(-10px, 5px);
    }

    75% {
        transform: scale(1.05) translate(5px, 10px);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* KEN BURNS EFFECT ON SIDEBAR IMAGES (replaces wave) */
.gez360-sidebar .media img {
    animation: gez360-kenburns 8s ease-in-out infinite !important;
    transform-origin: center center;
}

@keyframes gez360-kenburns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08) translate(-2%, -1%);
    }

    100% {
        transform: scale(1);
    }
}

/* Removal of hover-only pan of static map */
.gez360-launch-header:hover .gez360-static-map-bg {
    animation: none;
}

/* =========================================
   POPUP ESKİ BASIT TASARIM (GERİ GETİRİLDİ)
   ========================================= */

/* Basit leaflet popup - varsayılan */
.leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 10px;
}

.leaflet-popup-content {
    margin: 0;
    width: auto;
}

/* =========================================
   KATEGORİ VE İŞLETME FİLTRE PANELİ
   =========================================*/
/* Filtre/* ========================================
   MAP CONTROLS - UNIFIED CIRCULAR DESIGN
   ======================================== */

/* Leaflet Zoom Controls Override - Circular Style */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 10px !important;
    transition: all 0.3s !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.leaflet-control-zoom a:hover {
    background: #f8f8f8 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-control-zoom a:last-child {
    margin-bottom: 0 !important;
}

/* Map Controls LEFT BOTTOM (Toggle, Reset, Zoom) - PC */
.gez360-map-controls-top-left {
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gez360-btn-reset {
    background: #fff;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gez360-btn-reset:hover {
    background: #f8f8f8;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Controls RIGHT TOP (Close) - PC */
.gez360-map-controls-bottom-left {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
    z-index: 1000;
    display: flex;
}

.gez360-btn-close {
    background: #fff;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.gez360-btn-close:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gez360-btn-close i {
    font-size: 18px;
}

/* Hide close button text on PC */
.gez360-close-text {
    display: none;
}

/* Sidebar Toggle - Satır 1037-1079'da tanımlı, buradan kaldırıldı */

/* =========================================
   KATEGORİ VE İŞLETME FİLTRE PANELİ
   =========================================*/
/* Filtre Paneli PC - Genişletildi */
.gez360-filter-panel {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 100001;
    max-width: 400px;
    /* Genişletildi: 280px -> 400px */
}

.gez360-filter-toggle {
    background: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gez360-filter-toggle:hover {
    background: #f0f0f0;
}

.gez360-filter-toggle i {
    font-size: 14px;
}

.gez360-filter-dropdown {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    overflow: hidden;
    display: none;
}

.gez360-filter-dropdown.active {
    display: block;
}

.gez360-filter-section {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.gez360-filter-section:last-child {
    border-bottom: none;
}

.gez360-filter-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Kategori checkbox'ları - 3 satır göster, scroll */
.gez360-category-list {
    max-height: 90px;
    /* ~3 satır */
    overflow-y: auto;
    padding-right: 5px;
}

.gez360-category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
}

.gez360-category-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.gez360-category-item label {
    font-size: 13px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

/* İşletme listesi - Satır görünüm, border yok */
.gez360-business-list {
    max-height: 180px;
    overflow-y: auto;
    background: #fff;
    /* Border kaldırıldı */
}

.gez360-business-item {
    padding: 6px 12px;
    /* Azaltıldı: 10px -> 6px */
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.gez360-business-item:last-child {
    border-bottom: none;
}

.gez360-business-item:hover {
    background: #f5f5f5;
}

.gez360-business-item.hidden {
    display: none;
}

/* Scroll bar stili - HAFİF */
.gez360-category-list::-webkit-scrollbar,
.gez360-business-list::-webkit-scrollbar {
    width: 4px;
    /* Azaltıldı: 6px -> 4px */
}

.gez360-category-list::-webkit-scrollbar-track,
.gez360-business-list::-webkit-scrollbar-track {
    background: #f9f9f9;
    /* Açık */
    border-radius: 2px;
}

.gez360-category-list::-webkit-scrollbar-thumb,
.gez360-business-list::-webkit-scrollbar-thumb {
    background: #ccc;
    /* Açık gri */
    border-radius: 2px;
}

.gez360-category-list::-webkit-scrollbar-thumb:hover,
.gez360-business-list::-webkit-scrollbar-thumb:hover {
    background: #999;
    /* Hover biraz koyu */
}

/* İşletme dropdown */
.gez360-business-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
}

.gez360-business-select:focus {
    outline: none;
    border-color: #4285F4;
}

/* Mobil filtre - Genişletildi */
@media screen and (max-width: 767px) {
    .gez360-filter-panel {
        top: 10px;
        left: 10px;
        right: auto;
        max-width: 65%;
        /* Genişletildi: 50% -> 65% */
    }

    .gez360-filter-toggle {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 8px 12px;
    }

    .gez360-filter-dropdown {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* =========================================
   MASAÜSTÜ KAPAT BUTONU DÜZENLEMESİ
   ========================================= */

/* Masaüstü: Yazıyı göster, normal stil */
@media screen and (min-width: 768px) {
    #gez360-close-map .gez360-close-text {
        display: inline;
        margin-left: 8px;
    }

    #gez360-close-map i {
        font-size: 14px;
    }
}

/* =========================================
   KART VURGULAMA ANİMASYONU
   ========================================= */

.gez360-card-item.gez360-highlight {
    animation: gez360-pulse 0.5s ease-out 3;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.5) !important;
}

@keyframes gez360-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =========================================
   3.0.0 MAJOR UI UPDATE - ZEN DESIGN
   ========================================= */

/* 1. Sidebar Background & Sadeleştirme - DESKTOP ONLY */
@media (min-width: 768px) {
    .gez360-sidebar {
        background: rgb(235 242 245 / 95%) !important;
        /* Tek bir background tanımı */
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        padding-top: 30px !important;
    }
}

/* 2. PC Kontrolleri (SOL ALT) */
@media (min-width: 769px) {

    /* Kapat Butonu - SOL ALT (ZEN DESIGN) */
    .gez360-btn-close {
        position: fixed !important;
        bottom: 15px !important;
        /* Standard padding reduction */
        left: 15px !important;
        right: auto !important;
        border-radius: 4px !important;
        width: auto !important;
        height: 36px !important;
        /* Reduced from 42px */
        padding: 0 16px !important;
        /* Tighter padding */
        z-index: 10005 !important;
        background: #ffffff !important;
        color: #000000 !important;
        /* Text color black */
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        font-size: 13px !important;
        /* Slightly smaller font */
        font-weight: 700 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.3s ease !important;
    }

    .gez360-btn-close i {
        color: #000 !important;
        /* BLACK PER REQUEST */
        background: #fff;
        width: 28px;
        height: 28px;
        line-height: 28px;
        border-radius: 50%;
        display: inline-block;
        box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
        /* Circular Embossed look */
        text-align: center;
        font-size: 14px;
    }

    .gez360-btn-close:hover {
        background: #000000 !important;
        /* Black on hover */
        color: #ffffff !important;
        /* White text on hover */
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    }

    .gez360-close-text {
        display: inline-block !important;
    }

    /* Zoom and Reset Stacked Perfectly - MOVED TO 200PX PER USER REQUEST */
    .leaflet-bottom.leaflet-left {
        bottom: 200px !important;
        /* Ultimate height for safety */
        left: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        z-index: 10006 !important;
    }

    #gez360-reset-map {
        position: static !important;
        /* Move into the flex group */
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: #333 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        order: 2;
        /* Position between + and - */
        margin: 0 !important;
    }

    .leaflet-control-zoom-in {
        order: 1;
        border-radius: 50% !important;
        margin-bottom: 4px !important;
    }

    .leaflet-control-zoom-out {
        order: 3;
        border-radius: 50% !important;
    }

    .leaflet-control-zoom {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .leaflet-control-zoom a {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 16px !important;
    }

    /* Ensure zoom controls are aligned */
    .leaflet-control-zoom {
        margin: 0 !important;
    }

    /* Sidebar Toggle - DİKDÖRTGEN VE YAPIŞIK */
    /* Sidebar Toggle - MICRO SCALED */
    #gez360-sidebar-toggle {
        position: fixed !important;
        bottom: 0px !important;
        right: 240px !important;
        /* Sidebar 240px genişliğe çekildi */
        left: auto !important;
        transform: none !important;

        width: 42px !important;
        height: 42px !important;
        border-radius: 8px 0 0 8px !important;
        background: #ffffff !important;
        color: #2d3436 !important;
        box-shadow: -3px -3px 8px rgba(0, 0, 0, 0.12) !important;
        z-index: 10011 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        /* Smaller icon */
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-bottom: none !important;
        border-right: none !important;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
    }

    #gez360-sidebar-toggle:hover {
        background: #f1f2f6 !important;
        width: 50px !important;
        /* Smaller hover expand */
    }

    /* GİZLİ MOD: En sağ alta yapış */
    #gez360-sidebar-toggle.goster-mode {
        right: 0px !important;
        background: rgb(245 252 253 / 100%) !important;
        /* Match updated sidebar color */
        box-shadow: -3px -3px 15px rgba(0, 0, 0, 0.2) !important;
    }
}

/* Tablet ve Küçük Ekranlar için Destek */
@media (max-width: 1024px) {

    .leaflet-bottom.leaflet-left,
    #gez360-reset-map {
        bottom: 200px !important;
    }
}

/* MOBİL */
@media (max-width: 768px) {
    #gez360-sidebar-toggle {
        display: none !important;
    }

    .leaflet-control-zoom {
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        margin: 0 !important;
    }
}

/* Filtre Rengi */
.gez360-filter-toggle {
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   v4.1.0 - TEMİZ UI YAPISI
   ========================================================================== */

/* LEAFLET DEFAULT ZOOM KONTROLÜNÜ GİZLE (Kendi butonlarımızı kullanıyoruz) */
.leaflet-control-zoom {
    display: none !important;
}

/* ============================================
   ÜST TOOLBAR - Filtrele + Zoom + Reset
   ============================================ */
.gez360-top-toolbar {
    position: fixed;
    top: 18px;
    left: 300px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    /* Daraltıldı */
    z-index: 10010;
    pointer-events: auto;
}

.gez360-toolbar-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    /* Filtrele ile aynı köşe yuvarlaklığı */
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    pointer-events: auto;
    /* Tıklanabilir garanti */
}

.gez360-toolbar-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gez360-zoom-controls {
    display: flex !important;
    visibility: visible !important;
    flex-direction: row !important;
    gap: 8px !important;
    pointer-events: auto !important;
}

/* PC/Tablet için zoom ve reset butonlarının görünürlüğünü garanti et */
@media screen and (min-width: 768px) {

    .gez360-zoom-controls,
    #gez360-reset-map {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* #gez360-sidebar-toggle - Satır 2165-2228'deki PC media query içinde tanımlı, buradan kaldırıldı */

/* ============================================
   KAPAT BUTONU - DOĞRUDAN POZİSYON
   PC / Tablet / Mobile responsive
   ============================================ */
#gez360-close-map {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 10010 !important;
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

/* KAPAT BUTONU HOVER - SİYAH ARKAPLAN */
button#gez360-close-map:hover {
    background-color: #000000 !important;
    /* Siyah arkaplan */
    color: #ffffff !important;
    /* Beyaz yazı */
    transform: translateY(-2px) !important;
}

/* İkon rengi sabit kalacak */

/* Tablet */
@media screen and (max-width: 1024px) {
    #gez360-close-map {
        bottom: 15px !important;
        left: 15px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
}

/* Mobile - Kapat butonu sağ üst */
@media screen and (max-width: 767px) {
    #gez360-close-map {
        top: 10px !important;
        right: 10px !important;
        bottom: auto !important;
        left: auto !important;
        padding: 0 !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        justify-content: center !important;
    }

    #gez360-close-map .gez360-close-text {
        display: none !important;
    }
}

/* ============================================
   CARD HOVER ANİMASYONU - DÜZELTME
   ============================================ */
.gez360-sidebar .gez360-card-item {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    overflow: visible;
    /* Pseudo-elementler taşabilsin */
    z-index: 1;
    /* Stacking context oluştur */
}

/* Kartın içeriği en üstte olsun */
.gez360-sidebar .gez360-card-item>* {
    position: relative;
    z-index: 3;
}

.gez360-sidebar .gez360-card-item:hover {
    transform: scale(0.98);
    /* İçeri doğru basma efekti */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    /* Gölgeyi azalt - basılmış gibi */
}

/* Animated Border - SADECE KENARLIK ŞERİTİ */
.gez360-sidebar .gez360-card-item::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    z-index: -1;
    /* Kartın arkasında */
    border-radius: 14px;
    background-size: 30px 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Google Renkleri - Yeşil Beyaz */
.gez360-sidebar .gez360-card-item.gez360-border-google::before {
    background-image: repeating-linear-gradient(45deg,
            #34A853 0px, #34A853 10px,
            #ffffff 10px, #ffffff 20px);
}

/* Kırmızı Beyaz */
.gez360-sidebar .gez360-card-item.gez360-border-red_white::before {
    background-image: repeating-linear-gradient(45deg,
            #e74c3c 0px, #e74c3c 10px,
            #ffffff 10px, #ffffff 20px);
}

/* Siyah Beyaz */
.gez360-sidebar .gez360-card-item.gez360-border-bw::before {
    background-image: repeating-linear-gradient(45deg,
            #000000 0px, #000000 10px,
            #ffffff 10px, #ffffff 20px);
}

/* Hover'da animasyon başlat */
.gez360-sidebar .gez360-card-item:hover::before {
    opacity: 1;
    animation: gez360-border-move 0.8s linear infinite;
}

@keyframes gez360-border-move {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 0;
    }
}

/* ============================================
   FİLTRE DROPDOWN - TOOLBAR İÇİNDE
   ============================================ */
.gez360-filter-panel {
    position: relative;
    /* Toolbar içinde flexbox ile yan yana durması için relative */
    z-index: 10011;
    pointer-events: auto;
}

.gez360-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    pointer-events: auto;
}

.gez360-filter-toggle:hover {
    background: #f5f5f5;
}

.gez360-filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #f0f0f0;
    /* Hafif gri arkaplan */
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    max-height: 0;
    padding: 0 10px;
    /* Yatay padding her zaman, dikey 0 */
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out, padding 0.35s ease-out;
    /* Kayar efekti - düzgün geçiş */
    pointer-events: none;
    z-index: 10011;
}

.gez360-filter-dropdown.active {
    max-height: 450px;
    opacity: 1;
    padding: 10px;
    overflow-y: auto;
    /* Aktif olunca scroll izni */
    pointer-events: auto;
}

.gez360-filter-section {
    margin-bottom: 6px;
    /* Azaltıldı */
    background: #e8e8e8;
    /* Hafif gri arkaplan */
    border-radius: 6px;
    padding: 6px 8px;
}

.gez360-filter-title {
    font-weight: 600;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.gez360-category-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 0;
    /* Daha da azaltıldı */
}

.gez360-category-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.gez360-category-item label {
    font-size: 13px;
    cursor: pointer;
}

.gez360-business-item {
    padding: 5px 8px;
    /* Daha da azaltıldı */
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 13px;
    background: #f5f5f5;
    /* Hafif arkaplan */
    margin-bottom: 2px;
}

.gez360-business-item:hover {
    background: #ddd;
}

/* ============================================
   MOBİL DÜZENLEME (max-width: 767px)
   Layout:
   [Filtrele %60] ............. [Reset] [X]
                                        [+]
                                        [-]
   ============================================ */
@media screen and (max-width: 767px) {

    /* Toolbar - sadece filtrele için kullan */
    .gez360-top-toolbar {
        top: 10px;
        left: 10px;
        right: auto;
        flex-direction: row;
        gap: 10px;
    }

    /* Filtrele - %60 genişlik sol üst */
    .gez360-filter-panel {
        width: 60vw !important;
        max-width: 200px;
    }

    .gez360-filter-toggle {
        width: 100%;
        justify-content: space-between;
    }

    /* Zoom kontrollerini toolbar'dan çıkar, sağ üste taşı */
    .gez360-zoom-controls {
        position: fixed !important;
        top: 60px !important;
        /* Kapat butonunun altında */
        right: 10px !important;
        flex-direction: column !important;
        /* Dikey */
        gap: 8px !important;
        z-index: 10015 !important;
    }

    /* Reset butonu - Kapat'ın solunda */
    #gez360-reset-map {
        position: fixed !important;
        top: 10px !important;
        right: 58px !important;
        /* Kapat butonunun solunda (44px + 14px gap) */
        z-index: 10015 !important;
    }

    /* Kapat butonu - Sağ üst köşe, yuvarlak X */
    #gez360-close-map {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        left: auto !important;
        bottom: auto !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }

    #gez360-close-map .gez360-close-text {
        display: none !important;
    }

    /* Sidebar toggle - mobile'da gizle (bottom sheet var) */
    #gez360-sidebar-toggle {
        display: none !important;
    }
}

/* ============================================
   MARKER PIN SIZE INCREASE (36px  48px)
   ============================================ */
.leaflet-marker-icon {
    width: 48px !important;
    height: 48px !important;
    margin-top: -48px !important;
    margin-left: -24px !important;
}

.leaflet-div-icon {
    width: 48px !important;
    height: 48px !important;
}

.leaflet-div-icon i {
    font-size: 28px !important;
    line-height: 48px !important;
}

/* ============================================
   MOBİL LOGO FIX - Container Overflow + Animation
   ============================================ */
@media screen and (max-width: 767px) {

    /* Logo Container - Overflow Visible */
    .gez360-sidebar .gez360-card-item .media,
    .gez360-sidebar .gez360-card-item .gez360-card-media {
        background: transparent !important;
        overflow: visible !important;
        position: relative !important;
        height: 110px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* v5.0.8: Float animation REMOVED - Logo is static now */
}

/* ============================================
   MOBİL LOGO FIX - FINAL OVERRIDE (En Son)
   ============================================ */
@media screen and (max-width: 767px) {

    /* v5.0.8: Z-INDEX FIX - Must be LOWER than toolbar (11000) */
    .gez360-sidebar {
        z-index: 100 !important;
        overflow: hidden !important;
        /* NO SCROLL */
        /* Toggle butonu dışarı taşabilsin diye */
        display: flex !important;
        flex-direction: column !important;
    }

    .gez360-sidebar-list {
        padding-top: 10px !important;
        /* Header ile mesafe */
        z-index: 50 !important;
        position: relative !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        /* NO VERTICAL SCROLL */
        height: 100% !important;
    }

    .gez360-sidebar .gez360-card-item .media,
    .gez360-sidebar .gez360-card-item .gez360-card-media,
    .gez360-sidebar .gez360-item .media,
    .media.gez360-card-media {
        background: transparent !important;
        overflow: visible !important;
        position: relative !important;
        height: 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        margin: 0 auto !important;
        box-shadow: none !important;
        border: none !important;
        z-index: 1 !important;
        /* Header'ın altında kalsın */
    }

    /* Logo Image */
    .gez360-sidebar .gez360-card-item .media img,
    .gez360-sidebar .gez360-card-item .gez360-card-media img {
        border-radius: 50% !important;
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }
}

/* ============================================
   v4.3.1 - MOBİL UX CORRECTIONS
   ============================================ */

/* 1. Desktop/Mobile Visibility Toggle */
.gez360-mobile-filter-btn,
.gez360-mobile-sidebar-show,
.gez360-mobile-filter-modal {
    display: none !important;
}

@media screen and (max-width: 767px) {

    /* Hide Desktop Elements */
    .desktop-filter-toggle {
        display: none !important;
    }

    /* Modify Sidebar Toggle for Mobile (ATTACHED TO SIDEBAR - VISIBLE!) */
    #gez360-sidebar-toggle {
        position: absolute !important;
        right: 15px !important;
        top: -45px !important;
        width: 32px !important;
        /* Küçültüldü */
        height: 32px !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: #333 !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 10010 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(0, 0, 0, 0.1) !important;
        transition: opacity 0.3s;
        /* Görünürlük için */
        opacity: 1 !important;
        visibility: visible !important;
    }

    .gez360-sidebar.hidden #gez360-sidebar-toggle {
        display: none !important;
    }

    /* Show Mobile Filter Button - Gradient Removed */
    .gez360-mobile-filter-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 32px;
        /* Küçültüldü */
        height: 32px;
        background: #fff !important;
        /* Force White */
        background-image: none !important;
        /* No Gradient */
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
        border: 2px solid rgba(0, 0, 0, 0.1) !important;
        font-size: 14px;
        color: #333 !important;
        margin-right: 5px;
        /* Filter ile diğerleri arasına boşluk */
    }

    .gez360-mobile-filter-btn i {
        background: none !important;
        -webkit-text-fill-color: #333 !important;
        color: #333 !important;
    }

    /* Button Layout & Resizing */
    .leaflet-control-zoom-in,
    .leaflet-control-zoom-out,
    .gez360-header-map-btn,
    .leaflet-control-custom {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        background: #fff !important;
        color: #333 !important;
        background-image: none !important;
        border: 2px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 6px !important;
        margin-bottom: 3px !important;
        /* 3px Boşluk */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    /* Zoom Container Adjustment */
    .leaflet-top.leaflet-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        top: 60px !important;
        /* Filter bar altına */
        right: 10px !important;
    }

    /* Reset Button Position (Zoomların Altına) */
    /* Bu, HTML yapısına bağlı, eğer zoom container içindeyse CSS ile sırası zordur flex order lazım */
    .leaflet-control-zoom a {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Kapat Butonu (User Request: "Haritayı Kapat" Textli/Geniş) */
    /* Mevcut .gez360-header-map-btn class'ını kullanıyoruz */
    .gez360-header-map-btn {
        width: auto !important;
        /* Geniş */
        padding: 0 10px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        order: -1;
        /* En üstte olsun */
        margin-bottom: 10px !important;
        /* Zoomlardan uzak */
        background: #000 !important;
        /* Siyah */
        color: #fff !important;
        border: none !important;
    }

    .gez360-header-map-btn::after {
        content: " Kapat";
        /* Mobilde "Kapat" yazısı */
    }

    .gez360-header-map-btn i {
        margin-right: 4px;
    }

    /* Checkbox GİZLEME (Aggressive) */
    .gez360-mobile-cat-item input[type="checkbox"] {
        display: none !important;
        opacity: 0 !important;
        width: 0 !important;
        position: absolute;
    }

    /* Sidebar Item Hidden Class Fix (For AJAX Filtering) */
    /* JS ile .hidden class'ı eklenecek, burası onu yönetecek */
    .gez360-card-item.hidden-by-filter {
        display: none !important;
    }

    /* Mobile Sidebar Show Button (+ Button at bottom right) */
    /* This button appears ONLY when sidebar is hidden */
    .gez360-mobile-sidebar-show {
        display: none;
        /* JS ile fadeIn yapılacak */
        position: fixed;
        bottom: 25px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: #000;
        color: #fff;
        border-radius: 50%;
        font-size: 20px;
        border: none;
        z-index: 10010;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .gez360-mobile-sidebar-show:active {
        transform: scale(0.9);
    }

    /* 2. Mobile Filter Modal Styling - TOP SLIDE & COMPACT */
    .gez360-mobile-filter-modal {
        display: block !important;
        position: fixed;
        top: 60px;
        /* Üstten başlasın (Toolbar altı) */
        left: 10px;
        /* Biraz boşluk */
        width: calc(100% - 20px);
        /* Kenarlardan boşluk */
        height: auto;
        z-index: 20000;
        pointer-events: none;
    }

    /* Overlay tıklamayı engelle (artık sadece görünüm için, kapatmıyor) */
    .gez360-modal-overlay {
        display: none;
        /* Overlay kaldırıldı (istek üzerine) veya sadece görsel */
    }

    .gez360-modal-content {
        position: relative;
        top: 0;
        left: 0;
        transform: translateY(-150%);
        /* Yukarıdan gelsin */
        width: 100%;
        max-width: 100%;
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        border: 1px solid #eee;
    }

    /* Modal Active State - Slide Down from Top */
    .gez360-mobile-filter-modal.active .gez360-modal-content {
        transform: translateY(0);
    }

    /* Modal Header - REMOVED TITLE, Only Close Button - NOW REMOVED COMPLETELY (Close via Show Button) */
    .gez360-modal-header {
        display: none !important;
        /* Header komple gizlendi */
    }

    .gez360-modal-close {
        background: #f0f0f0;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        cursor: pointer;
        color: #555;
    }

    /* Filter Sections - Compact & Wrapped */
    .gez360-mobile-filter-section {
        margin-bottom: 15px;
    }

    .gez360-mobile-filter-section>label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
        font-size: 11px;
        /* Küçültüldü */
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Horizontal Scroll -> Wrapped Layout */
    .gez360-mobile-categories-scroll {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        /* WRAP eklendi - Kayma yok */
        overflow-x: visible;
        /* Scroll iptal */
        padding-bottom: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gez360-mobile-cat-item label {
        display: block;
        padding: 8px 14px;
        background: #fff;
        /* Beyaz */
        border: 1px solid #ddd;
        border-radius: 8px;
        /* Daha az yuvarlak (Pill değil, button gibi) */
        font-size: 12px;
        font-weight: 600;
        color: #555;
        white-space: nowrap;
        transition: all 0.2s;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        /* Kabartma efekti */
    }

    /* Checked State */
    .gez360-mobile-cat-item input:checked+label {
        background: #333;
        color: #fff;
        border-color: #333;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        transform: translateY(-1px);
    }

    /* Dropdown Select - Compact */
    .gez360-mobile-select {
        width: 100%;
        padding: 8px 10px;
        /* Küçültüldü */
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #f9f9f9;
        font-size: 13px;
        color: #333;
    }

    /* Modal Footer */
    .gez360-modal-footer {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .gez360-result-count {
        font-weight: 600;
        font-size: 12px;
        color: #555;
    }

    .gez360-btn-primary {
        background: #000;
        color: #fff;
        border: none;
        padding: 8px 20px;
        /* Küçültüldü */
        border-radius: 8px;
        font-weight: 600;
        font-size: 13px;
        cursor: pointer;
    }
}

/* ==========================================================================
   v5.0.1 - MOBILE TOOLBARS
   ========================================================================== */

/* Desktop: Hide Mobile Toolbars */
@media (min-width: 768px) {

    .gez360-mobile-topbar,
    .gez360-mobile-toolbar {
        display: none !important;
    }
}

/* Mobile: Show Toolbars */
@media (max-width: 767px) {

    /* Hide Desktop Controls on Mobile */
    .gez360-zoom-controls,
    #gez360-reset-map,
    #gez360-close-map,
    #gez360-mobile-sidebar-show,
    #gez360-sidebar-toggle,
    .gez360-filter-panel,
    #gez360-mobile-filter-btn {
        display: none !important;
    }

    /* === TOP BAR (Sol Üst, Küçük) === */
    .gez360-mobile-topbar {
        position: fixed;
        top: 8px;
        left: 8px;
        right: 8px;
        display: flex;
        gap: 10px;
        z-index: 200;
        /* Z-INDEX: Topbar = 200 */
        background: transparent;
    }

    .gez360-mob-topbtn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        /* Always circular */
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        background: rgba(227, 237, 247, 0.7) !important;
        /* Glass effect matching toolbar */
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        box-shadow: 2px 2px 0px rgba(163, 177, 198, 0.4), -1px -1px 0px rgba(255, 255, 255, 0.8) !important;
        font-size: 16px !important;
        color: #31456a !important;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
    }

    #gez360-mob-fullscreen {
        margin-left: auto;
    }

    .gez360-mob-topbtn:active {
        transform: scale(0.92);
        background: rgba(227, 237, 247, 0.9) !important;
    }

    /* v5.0.9: Kill Ken Burns animation on mobile */
    .gez360-sidebar .media img {
        animation: none !important;
    }

    /* === BOTTOM TOOLBAR - CRYSTAL GLASS STYLE v5.3.1 FINAL === */
    .gez360-mobile-toolbar {
        position: fixed;
        bottom: 195px;
        /* Lifted to stick to top of 240px pod */
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        gap: 7px;
        z-index: 1500;
        /* Higher than pod */
        transition: bottom 0.3s ease-in-out !important;
        pointer-events: none;
    }

    .gez360-mobile-toolbar>* {
        pointer-events: auto;
    }

    /* === COMMON BASE STYLE (GLASS + PALE BLUE) === */
    .gez360-mob-btn,
    .gez360-mob-toggle-btn {
        flex: 0 0 42px;
        height: 42px;
        border-radius: 12px;
        /* Glass is usually rounder */
        border: 1px solid rgba(255, 255, 255, 0.6);
        /* Glass Edge */
        outline: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease-out;
        margin: 0 !important;
        font-family: inherit;
        font-size: 16px;

        /* PALE BLUE GLASS (Lighter) */
        background: rgba(227, 237, 247, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        color: #31456a !important;

        /* SHARP SHADOW (0 Blur) */
        box-shadow: 2px 2px 0px rgba(163, 177, 198, 0.4), -1px -1px 0px rgba(255, 255, 255, 0.8);
    }

    /* Active State */
    .gez360-mob-btn:active,
    .gez360-mob-toggle-btn:active {
        background: rgba(227, 237, 247, 0.9);
        /* More solid when pressed */
        transform: scale(0.96);
    }

    .gez360-mob-btn:active i,
    .gez360-mob-toggle-btn:active i {
        transform: none;
    }

    /* 1. FILTER BUTTON (LIGHTER LIME GLASS) */
    #gez360-mob-filter {
        /* Lighter Lime #e6ee9c with low opacity */
        background: rgba(230, 238, 156, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #333 !important;
        /* Sharp Lime Shadow */
        box-shadow: 2px 2px 0px rgba(173, 185, 71, 0.4);
    }

    #gez360-mob-filter:active {
        background: rgba(212, 225, 87, 1.0);
    }

    /* 2. ZOOM, RESET, PLAY (TOGGLE) - STANDARD GLASS */
    #gez360-mob-zoomin,
    #gez360-mob-zoomout,
    #gez360-mob-reset,
    .gez360-mob-toggle-btn {
        /* Base glass style applies */
    }

    .gez360-mob-toggle-btn {
        width: 42px !important;
    }

    .gez360-mob-toggle-btn i {
        color: #31456a !important;
    }

    /* 3. ADD BUSINESS BUTTON (NARROWER GLASS) */
    #gez360-mob-add {
        flex: 0 0 auto !important;
        width: auto !important;
        padding: 0 8px;
        /* Narrower */
        height: 42px !important;
        /* Matches base glass style */
        background: rgba(227, 237, 247, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.6);

        color: #31456a !important;
        font-weight: 700;
        font-size: 11px;
        white-space: nowrap;
        gap: 5px;
        /* Sharp Shadow */
        box-shadow: 2px 2px 0px rgba(163, 177, 198, 0.4), -1px -1px 0px rgba(255, 255, 255, 0.8);
    }

    #gez360-mob-add:active {
        background: rgba(227, 237, 247, 0.9);
        transform: scale(0.96);
    }

    #gez360-mob-add i {
        color: #31456a !important;
        font-size: 14px;
        margin-right: 0;
    }

    /* ÜST KONTROLLERİ GİZLE */
    .leaflet-top.leaflet-left .leaflet-control-zoom {
        display: none !important;
    }

    .gez360-mob-topbtn:not(#gez360-mob-fullscreen) {
        display: none !important;
    }

    /* HİZALAMA */
    #gez360-mob-zoomin {
        margin: 0 !important;
    }

    /* LEAFLET ATTRIBUTION FIX */
    .leaflet-control-attribution {
        white-space: nowrap !important;
        font-size: 9px !important;
        background: rgba(255, 255, 255, 0.7) !important;
        padding: 0 4px !important;
    }

    /* MOBILE SPECIFIC: SIDEBAR & SCROLLBAR */
    /* MOBILE SPECIFIC: SIDEBAR & SCROLLBAR (CLEAN SLATE FIX v5.3.1) */
    @media screen and (max-width: 767px) {
        .gez360-sidebar {
            width: 100% !important;
            height: auto !important;
            /* v6.7.0: Lowered to bottom edge */
            top: auto !important;
            left: 0 !important;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            padding: 0 !important;
            margin: 0 !important;
            display: flex !important;
            align-items: flex-end !important;
            justify-content: center !important;
            pointer-events: none !important;
            overflow: visible !important;
        }

        /* Enable pointer events on interactive children */
        .gez360-sidebar>* {
            pointer-events: auto !important;
        }

        /* CARD MEDIA HEIGHT FIX */
        .gez360-sidebar .gez360-card-item .media,
        .gez360-sidebar .gez360-card-item .gez360-card-media,
        .gez360-sidebar .gez360-item .media,
        .media.gez360-card-media {
            height: 90px !important;
            display: flex !important;
            flex-wrap: wrap !important;
        }

        /* SCROLLABLE LIST CONTAINER - Swiper compatibility */
        .gez360-sidebar .gez360-sidebar-list {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            overflow: visible !important;
            padding: 0 !important;
            margin: 0 !important;
            margin-top: 15px !important;
            /* v6.9.10: Lifted cards more since background is removed */
            margin-bottom: 35px !important;
            scrollbar-width: none !important;
            scroll-behavior: smooth !important;
            background: transparent !important;
            /* Animation settings */
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease !important;
        }

        /* Hide Scrollbar explicitly for Webkit */
        .gez360-sidebar .gez360-sidebar-list::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
            -webkit-appearance: none !important;
        }

        /* v6.4.0: Slightly smaller cards for better visibility */
        .gez360-sidebar .gez360-card-item {
            display: flex !important;
            flex-direction: column !important;
            width: 35% !important;
            /* Reduced from 38% */
            min-width: 35% !important;
            max-width: 35% !important;
            height: auto !important;
            aspect-ratio: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            background: transparent !important;
            border-radius: 0 !important;
            overflow: visible !important;
            box-shadow: none !important;
            scroll-snap-align: center !important;
            transform: none !important;
            transition: transform 0.2s ease !important;
            opacity: 1 !important;
        }


        /* ========================================
           v6.9.9: VAULT PRO NAVIGATION - REFINED
           ======================================== */
        .vault-pro-wrapper {
            --accent: #22c55e;
            width: 100%;
            position: fixed !important;
            bottom: 0 !important;
            /* Reset to bottom */
            left: 0 !important;
            z-index: 1300 !important;
            background: transparent !important;
        }

        .vault-pro-wrapper .shapes {
            display: flex;
            align-items: flex-end;
            background: transparent !important;
        }

        /* SCOOPS REMOVED per user request */

        .vault-pro-wrapper .bridge {
            flex: 1;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 20px 20px 0 0;
            border: 1px solid rgba(255, 255, 255, 0.4);
            border-bottom: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0 20px 15px 20px;
            /* Slightly less bottom padding to lift content */
            /* Increased bottom padding to lift it */
            box-shadow: none !important;
            position: relative;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border: none !important;
            border-radius: 0 !important;
        }

        .vault-pro-wrapper .ui {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
            /* Slightly taller for better symmetry */
            display: flex;
            justify-content: space-between;
            align-items: center;
            pointer-events: none;
        }

        .vault-pro-wrapper .btn {
            pointer-events: auto;
            width: 70px;
            height: 50px;
            /* Match bridge */
            border: none;
            background: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: 0;
        }

        .vault-pro-wrapper .circle {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #31456a;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            background: rgba(255, 255, 255, 0.8);
        }

        .vault-pro-wrapper .btn:active .circle {
            transform: translateY(2px) scale(0.95);
            box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
            background: #22c55e;
            color: #fff;
        }

        .vault-pro-wrapper .track {
            position: relative;
            width: 140px;
            height: 6px;
            background: rgba(0, 0, 0, 0.4) !important;
            /* High contrast */
            border-radius: 10px;
            overflow: hidden;
            margin-top: 2px;
            /* Lift bar slightly more inside bridge */
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3) !important;
            z-index: 20 !important;
        }

        .vault-pro-wrapper .fill {
            height: 100%;
            background: #22c55e !important;
            box-shadow: 0 0 12px rgba(34, 197, 94, 0.8) !important;
            transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            opacity: 1 !important;
            visibility: visible !important;
        }

        .vault-pro-wrapper .txt {
            font-size: 11px !important;
            font-weight: 700 !important;
            color: #31456a;
            text-transform: uppercase;
            margin-bottom: 3px;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            letter-spacing: 0.8px;
            white-space: nowrap;
            opacity: 0.9;
        }

        .vault-pro-wrapper .txt b {
            color: #22c55e;
            font-weight: 600;
        }

        /* Swiper Slide Transition Polish */
        .gez360-sidebar-list .swiper-slide.gez360-card-item {
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease !important;
            will-change: transform, opacity;
            margin-right: 0 !important;
            /* Managed by JS/Transform */
        }

        /* v5.3.2: FORCE SWIPER GAP (Override Bootstrap/Grid Conflicts) */
        .gez360-sidebar-list .swiper-slide.gez360-card-item {
            margin-right: 10px !important;
            margin-left: 0 !important;
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }


        /* CARD INNER - Structure removed per user request, only logo and title remain */
        .gez360-sidebar .gez360-card-item .gez360-card {
            background: transparent !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            border: none !important;
            overflow: visible !important;
            width: 100% !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* CARD TITLE */
        .gez360-sidebar .gez360-card-title {
            font-size: 15px !important;
            font-weight: 700 !important;
            color: #222 !important;
            padding-bottom: 2px !important;
            white-space: normal !important;
            /* Allow title wrap inside card */
        }

        /* v5.3.2: LOGO SPIN ANIMATION (Vida Gibi Dönme) */
        @keyframes logoSpinShrink {
            0% {
                transform: rotate(0deg) scale(1);
            }

            50% {
                transform: rotate(180deg) scale(0.7);
            }

            100% {
                transform: rotate(360deg) scale(1);
            }
        }

        .gez360-card-media img {
            transition: transform 0.3s ease !important;
        }

        .gez360-card-media.spinning img {
            animation: logoSpinShrink 0.6s ease-in-out !important;
        }

        /* Mobile: Ensure animation works */
        @media screen and (max-width: 767px) {
            .gez360-card-media img {
                will-change: transform !important;
            }
        }

        /* LOGO ANIMATION (Simple Transition - Most Robust) */
        .gez360-sidebar .gez360-overlay-icon {
            transform: rotate(0deg) !important;
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
            /* Smooth Easing */
            box-shadow: none !important;
            border-radius: 50%;
            border: none !important;
            background: transparent !important;
            margin-bottom: 0px;
        }

        /* Trigger Spin on Hover/Active */
        .gez360-sidebar .gez360-card-item:hover .gez360-overlay-icon,
        .gez360-sidebar .gez360-card-item:active .gez360-overlay-icon {
            transform: rotate(360deg) !important;
            box-shadow: none !important;
        }

    }

    /* v6.3.0: Animation (Growing and sliding down) */
    .gez360-sidebar.cards-hidden .gez360-sidebar-list {
        transform: translateY(120%) scale(1.5) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Keep sidebar container visible for layout but hide content */
    .gez360-sidebar.cards-hidden {
        height: 60px !important;
        /* Small space for toolbar transition */
        overflow: visible !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .gez360-sidebar.cards-hidden+.gez360-mobile-toolbar {
        bottom: 25px !important;
    }

    /* Sidebar Bottom Padding - 20px */
    .gez360-sidebar-list {
        padding-bottom: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Container Centering for Buttons */
    .gez360-sidebar .gez360-card-item .actions,
    .gez360-sidebar .gez360-card-actions {
        display: none !important;
        /* Removed for Lite look */
    }

    /* Action Buttons (Mobile) - Uiverse Style (REFINED v5.2.1) */
    .gez360-sidebar .gez360-btn-review,
    .gez360-sidebar .gez360-btn-directions {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #e3edf7 !important;
        padding: 0 !important;
        border-radius: 8px !important;
        /* Slightly smaller radius */
        box-shadow:
            5px 5px 8px -1px rgba(0, 0, 0, 0.15),
            -5px -5px 8px -1px rgba(255, 255, 255, 0.7) !important;
        border: 1px solid rgba(0, 0, 0, 0) !important;
        cursor: pointer !important;
        transition: transform 0.5s !important;
        font-size: 0 !important;
        /* Hide text */
        width: 50px !important;
        /* Smaller width */
        height: 42px !important;
        /* Smaller height */
        min-width: 50px !important;
        min-height: 42px !important;
        margin-right: 0 !important;
        color: inherit !important;
        /* ORIGINAL COLOR RESTORED */
    }

    .gez360-sidebar .gez360-btn-review:hover,
    .gez360-sidebar .gez360-btn-directions:hover {
        box-shadow:
            inset 3px 3px 5px -1px rgba(0, 0, 0, 0.2),
            inset -3px -3px 5px -1px rgba(255, 255, 255, 0.7),
            -0.5px -0.5px 0px rgba(255, 255, 255, 1),
            0.5px 0.5px 0px rgba(0, 0, 0, 0.15),
            0px 10px 8px -10px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        transform: translateY(0.3em) !important;
    }

    /* Icon Animation */
    .gez360-sidebar .gez360-btn-review i,
    .gez360-sidebar .gez360-btn-directions i {
        font-size: 18px !important;
        /* Smaller icon */
        transition: transform 0.5s !important;
        display: block !important;
        color: inherit !important;
        /* ORIGINAL COLOR */
    }

    .gez360-sidebar .gez360-btn-review:hover i,
    .gez360-sidebar .gez360-btn-directions:hover i {
        transform: scale(0.9) rotate(360deg) !important;
        color: inherit !important;
        /* NO COLOR CHANGE */
    }

    /* v6.4.0: Increased Logo Padding (More breathing room) */
    .gez360-sidebar .gez360-overlay-icon img {
        background: transparent !important;
        box-shadow: none !important;
        padding: 6px !important;
        border-radius: 50% !important;
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        border: none !important;
    }

    .gez360-mobile-ui-pod {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 240px;
        /* Covers cards + nav */
        background: rgba(255, 255, 255, 0.45) !important;
        /* Slightly more transparent */
        backdrop-filter: blur(20px) !important;
        /* Balanced blur */
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
        z-index: 900 !important;
        /* Low z-index within stacking context */
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.3s ease;
        visibility: visible !important;
        display: block !important;
    }

    .gez360-sidebar.cards-hidden .gez360-mobile-ui-pod {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ==========================================================================
   v5.2.5 - LEGAL / ATTRIBUTION POSITIONING
   ========================================================================== */

/* Genel Ayarlar */
.leaflet-container .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.6) !important;
    /* Semi-transparent */
    backdrop-filter: blur(4px) !important;
    /* Subtle Glass */
    -webkit-backdrop-filter: blur(4px) !important;
    box-shadow: none !important;
    font-size: 10px !important;
    color: #555 !important;
    margin: 0 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    pointer-events: auto !important;
    line-height: normal !important;
}

.leaflet-control-attribution a {
    color: #444 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* PC/Tablet: Sol Alt (Kapat butonunun altı/hizası) */
@media (min-width: 768px) {
    .leaflet-control-attribution {
        position: absolute !important;
        bottom: 5px !important;
        /* En alt */
        left: 20px !important;
        /* Sol kenar (Kapat butonu hizası) */
        right: auto !important;
    }
}

/* Mobil: Sol Üst Köşe */
@media (max-width: 767px) {
    .leaflet-control-attribution {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: auto !important;
        right: auto !important;
        max-width: 200px !important;
        text-align: left !important;
        z-index: 500 !important;
    }
}

/* ========================================
   DESKTOP/TABLET ONLY (min-width: 768px)
   ======================================== */
@media screen and (min-width: 768px) {

    /* Card Media Background */
    .gez360-sidebar .gez360-card-item .media,
    .gez360-sidebar .gez360-card-item .image,
    .gez360-sidebar .gez360-card-item .gez360-card-media {
        background: #e5e5e5 !important;
        padding: 5px !important;
    }

    /* Sidebar Background - Redundant override removed */
    .gez360-sidebar {
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: auto !important;
    }

    /* Vertical Swiper (Desktop/Tablet) */
    .gez360-sidebar-list.swiper {
        height: calc(100vh - 200px) !important;
    }

    .gez360-sidebar-list.swiper .swiper-slide {
        height: auto !important;
        width: 100% !important;
    }

    /* Sidebar Cards Glassmorphism */
    .gez360-sidebar .gez360-card-item {
        background: rgba(255, 255, 255, 0.7) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    /* Transparent Scrollbar */
    .gez360-sidebar::-webkit-scrollbar {
        width: 8px;
    }

    .gez360-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .gez360-sidebar::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
    }

    .gez360-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }

    /* Button Padding & Gap */
    .gez360-sidebar .gez360-btn-review,
    .gez360-sidebar .gez360-btn-directions {
        font-size: 13px !important;
        overflow: visible !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0px !important;
        width: auto !important;
        padding: 8px 20px !important;
    }

    /* Actions Container Gap */
    .gez360-sidebar .gez360-card-item .actions,
    .gez360-sidebar .gez360-card-actions {
        display: flex !important;
        gap: 5px !important;
    }

    /* Card Content Padding */
    .gez360-sidebar .gez360-card .content {
        background: #fff;
        padding: 6px 3px !important;
        text-align: center;
        border-radius: 0 0 6px 6px;
    }

    /* Close Map Button (Desktop/Tablet) */
    #gez360-close-map {
        bottom: 30px !important;
        left: -5px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

    /* Sidebar Toggle - Top Position */
    body .gez360-sidebar #gez360-sidebar-toggle,
    body #gez360-sidebar-toggle.gez360-sidebar-toggle,
    body #gez360-sidebar-toggle {
        top: auto !important;
        bottom: 30px !important;
        right: 240px !important;
        background-color: #e0ecb8 !important;
        background: #e0ecb8 !important;
        transition: right 0.3s ease, background-color 0.3s ease;
    }

    /* GİZLİ/GÖSTER MOD: Sidebar kapalıyken en sağa yapış */
    body #gez360-sidebar-toggle.goster-mode {
        right: 0 !important;
    }

    body .gez360-sidebar #gez360-sidebar-toggle i,
    body #gez360-sidebar-toggle.gez360-sidebar-toggle i,
    body #gez360-sidebar-toggle i {
        font-size: 14px !important;
        color: #000000 !important;
        transition: transform 0.3s ease;
    }

    body .gez360-sidebar #gez360-sidebar-toggle:hover,
    body #gez360-sidebar-toggle.gez360-sidebar-toggle:hover,
    body #gez360-sidebar-toggle:hover {
        background-color: #c5d89a !important;
        background: #c5d89a !important;
    }

    body .gez360-sidebar #gez360-sidebar-toggle:hover i,
    body #gez360-sidebar-toggle.gez360-sidebar-toggle:hover i,
    body #gez360-sidebar-toggle:hover i {
        color: #000000 !important;
    }

    /* Button Labels (Desktop) - Remove ALL Duplicates */
    .gez360-sidebar .gez360-btn-review::after,
    .gez360-sidebar .gez360-btn-directions::after,
    .gez360-btn-review::after,
    .gez360-btn-directions::after {
        content: none !important;
        display: none !important;
    }

    /* Attribution (Desktop/Tablet) */
    .gez360-attribution {
        position: fixed !important;
        bottom: 0px !important;
        left: 0px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        padding: 5px 10px !important;
        border-radius: 4px !important;
        font-size: 10px !important;
        color: #666 !important;
        z-index: 1000 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        max-width: 90% !important;
        line-height: 1.4 !important;
    }

    .gez360-attribution a {
        color: #0066cc !important;
        text-decoration: none !important;
    }

    .gez360-attribution a:hover {
        text-decoration: underline !important;
    }
}

/* ========================================
   POPUP ICON SIZE (All Devices)
   ======================================== */
.leaflet-popup-content-wrapper img,
.gez360-popup-icon {
    width: auto !important;
    max-width: none !important;
}

.leaflet-popup-content img[style*="width"] {
    width: calc(100% + 45px) !important;
    margin-top: 10px !important;
}

/* ========================================
   MARKER CLUSTER CUSTOM COLORS
   ======================================== */
.marker-cluster-small {
    background-color: rgb(226 140 140 / 60%) !important;
}

.marker-cluster-small div {
    background-color: rgb(204 57 104 / 19%) !important;
}

/* ======================================================
   v9.0.0: CLEAN CINEMATIC ANIMATIONS (No Glitch/Flash/Blur)
   ====================================================== */

/* --- PIN BOUNCE (BOB EFFECT) --- */
.pin-bounce-anim {
    animation: pinBob 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    transform-origin: bottom center;
}

@keyframes pinBob {
    0% {
        transform: translateY(-120px) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translateY(0) scale(1.1);
        opacity: 1;
    }

    65% {
        transform: translateY(-20px) scale(1);
    }

    80% {
        transform: translateY(0) scale(1.05);
    }

    90% {
        transform: translateY(-8px) scale(1);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- PITCH EFFECT (COUNTRY-TO-COUNTRY TILT) --- */
#gez360-map-container {
    perspective: 1500px;
    transform-style: preserve-3d;
    overflow: hidden;
}

#gez360-map-container.pitched #gez360-map {
    transform: rotateX(45deg) scale(1.3) !important;
    transform-origin: 50% 80% !important;
    transition: transform 2s ease-in-out !important;
}

#gez360-map-container.pitch-returning #gez360-map {
    transform: rotateX(0deg) scale(1) !important;
    transition: transform 1.5s ease-out !important;
}

/* --- MAP FADE-IN (FIRST LOAD) --- */
#gez360-map.map-opening {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

#gez360-map.map-opened {
    opacity: 1;
}