        /* --- CORE VARIABLES --- */
        :root {
            --primary: rgb(165, 130, 76);
            --bg-dark: #111111;
            --bg-darker: #000000;
            --bg-card: #222222;
            --text-light: #efefef;
            --text-muted: #a5a5a5;
            --font-family: 'Pin Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            --ms-avatar: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><circle cx="32" cy="32" r="32" fill="%23e1e1e1"/><path d="M32 35c-6.6 0-12-5.4-12-12s5.4-12 12-12 12 5.4 12 12-5.4 12-12 12zm0 4c12.4 0 23.5 6.5 28.5 16.5C56.3 61 44.8 64 32 64s-24.3-3-28.5-8.5C8.5 45.5 19.6 39 32 39z" fill="%23a6a6a6"/></svg>');
            --header-height: 64px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        
        body {
            background-color: var(--bg-dark); color: var(--text-light);
            font-family: var(--font-family); overflow-x: hidden; margin-top: 50px;
        }
        a { text-decoration: none; color: inherit; }
        button { cursor: pointer; border: none; font-family: inherit; }

        /* --- HEADER --- */
        header {
            position: fixed; width: 100%;margin-bottom: 50px; top: 0; z-index: 50; background: var(--bg-darker);
            display: flex; align-items: center; justify-content: space-between;
            padding: 8px 24px; height: var(--header-height);
        }
        .logo-nav { display: flex; align-items: center; gap: 24px; height: 100%; }
        .logo { display: flex; align-items: center; height: 100%; }
        .logo img { max-height: 45px; width: auto; object-fit: contain; }
        
        .nav-links { display: flex; gap: 24px; font-weight: 600; font-size: 16px; align-items: center; }
        .nav-links a:hover { color: var(--primary); }
        .nav-dropdown { position: relative; }
        .nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
        .nav-dropdown-menu {
            position: absolute; top: 120%; left: 0; background: var(--bg-card); min-width: 150px;
            border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); opacity: 0; visibility: hidden;
            transform: translateY(-10px); transition: all 0.2s ease; display: flex; flex-direction: column; overflow: hidden;
        }
        .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
        .nav-dropdown-menu a { padding: 12px 16px; font-size: 15px; transition: 0.2s; }
        .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: var(--primary); }

        .header-right { display: flex; align-items: center; gap: 16px; }
        .btn-primary { background: var(--primary); color: white; padding: 10px 16px; border-radius: 24px; font-weight: 600; transition: background 0.2s; }
        .hamburger { display: none; background: none; color: white; font-size: 24px; }
        
        /* User Profile styles */
        .user-profile-container { position: relative; display: flex; align-items: center; }
        .user-profile-btn { display: flex; align-items: center; gap: 10px; background: transparent; color: white; padding: 4px 10px 4px 4px; border-radius: 30px; }
        .user-avatar { width: 36px; height: 36px; border-radius: 50%; background-image: var(--ms-avatar); background-size: cover; background-position: center; overflow:hidden}
        .user-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 4px; }
        
        /* --- MOBILE SLIDE-IN MENU --- */
        .mobile-menu {
            position: fixed; top: var(--header-height); left: 0; width: 100%;
            background: var(--bg-darker); z-index: 45; border-bottom: 1px solid rgba(255,255,255,0.1);
            transform: translateY(-100%); opacity: 0; pointer-events: none;
            transition: transform 0.4s ease, opacity 0.4s ease; display: flex; flex-direction: column;
        }
        .mobile-menu.active { 
            transform: translateY(0); 
            opacity: 1; 
            pointer-events: auto; 
        }
        
        .mobile-menu a { 
            padding: 16px 24px; 
            font-size: 18px; 
            font-weight: 600; 
            border-bottom: 1px solid rgba(255,255,255,0.05); 
        }
        
        /* --- HAMBURGER TO 'X' ICON TOGGLE --- */
        .hamburger .icon-close { 
            display: none; 
        }
        
        .hamburger .icon-hamburger { 
            display: block; 
        }
        
        .hamburger.active .icon-hamburger { 
            display: none; 
        }
        
        .hamburger.active .icon-close { 
            display: block; 
        }
        .mobile-only { display: none !important; }
        @media (max-width: 768px) { .user-name { display: none; } }
        @media (max-width: 1179px) {
            .nav-links { display: none; }
            .hamburger { display: block; }
            .mobile-only { display: flex !important; }
        }

        /* --- HERO SLIDER --- */
        .hero { position: relative; width: 100vw; height: 70vh; overflow: hidden; background: #000; }
        .hero-slider-track { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
        .hero-slide { width: 100vw; height: 100%; flex-shrink: 0; position: relative; cursor: pointer; }
        .hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
        .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
        .hero-title { font-size: 48px; font-weight: 700; margin-bottom: 24px; }
        
        .slider-arrow { 
            position: absolute; top: 50%; transform: translateY(-50%);
            background: rgba(0,0,0,0.5); color: white; border-radius: 50%; width: 50px; height: 50px;
            display: flex; align-items: center; justify-content: center; z-index: 10;
            transition: 0.2s; cursor: pointer; border: 2px solid rgba(255,255,255,0.2);
        }
        .slider-arrow:hover { background: rgba(0,0,0,0.8); border-color: white; }
        .slider-arrow svg { width: 24px; height: 24px; stroke-width: 3px; }
        #prev-hero { left: 20px; }
        #next-hero { right: 20px; }

        .hero-thumbnails-container {
            position: absolute; bottom: 20px; left: 0; width: 100%;
            display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 10;
        }
        .thumb-track { display: flex; gap: 12px; overflow-x: auto; max-width: 600px; padding: 10px; scrollbar-width: none; }
        .thumb-track::-webkit-scrollbar { display: none; }

/* --- HERO THUMBNAILS (Updated) --- */
.thumb { 
    position: relative; /* Added: keeps progress bar inside thumbnail */
    overflow: hidden;   /* Added: clips progress bar to rounded corners */
    width: 80px; 
    height: 50px; 
    border-radius: 8px; 
    flex-shrink: 0; 
    background-size: cover; 
    background-position: center; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: 0.2s; 
    opacity: 0.5; 
}

/* Base progress bar style */
.thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;                      /* Progress bar thickness */
    width: 0%;
    background-color: var(--primary); /* Gold primary theme color */
    pointer-events: none;
    z-index: 2;
}

/* Runs keyframe animation on active slide using dynamic JS variable */
.thumb.active::after {
    animation: thumbProgress var(--hero-duration, 4500ms) linear forwards;
}

/* Keyframe definition */
@keyframes thumbProgress {
    0%   { width: 0%; }
    100% { width: 100%; }
}
        .thumb.active { border-color: var(--primary); opacity: 1; }

        /* --- INTRO SECTION --- */
        .intro-title { text-align: center; padding: 60px 20px 20px; max-width: 800px; margin: 0 auto; }
        .intro-title h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
        .intro-title p { font-size: 18px; color: var(--text-muted); }

        /* --- MASONRY GRID --- */
        .grid-container { max-width: 1280px; margin: 20px auto 60px; padding: 0; }

        /* Updated Pin Container */
        .pin {
            display: block; position: relative; break-inside: avoid; margin-bottom: 16px;
            border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--bg-card);
            transition: transform 0.2s; text-decoration: none;
        }
        .pin:hover { transform: translateY(-4px); }
        
        .pin-img-wrapper { position: relative; }
        .pin img { width: 100%; display: block; border-radius: 16px 16px 0 0; }
        
        /* Updated Grid Item Counter & Price */
        .pin-counter { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); border-radius: 16px; padding: 4px 10px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: bold; }
        .pin-price { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); border-radius: 16px; padding: 4px 10px; font-size: 13px; font-weight: bold; color: white; }
        
        /* Title Display Restricted to 2 Lines */
        .pin-title {
            font-size: 14px;
            font-weight: 600;
            padding: 12px 16px;
            margin: 0;
            color: var(--text-light);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }

        /* --- ABOUT US / MAP SECTION --- */
        .about-section { max-width: 1280px; margin: 60px auto; padding: 0 16px; display: flex; flex-wrap: wrap; gap: 40px; }
        .about-content { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
        .about-img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 400px; margin-bottom: 20px; }
        .about-content h2 { font-size: 32px; margin-bottom: 16px; }
        .about-content p { color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
        .about-content a { color: var(--primary); width: max-content;color: #fff; font-weight: bold; display: flex; align-items: center; gap: 4px; }
        .map-container { flex: 1 1 600px; min-height: 300px; border-radius: 16px; overflow: hidden; }
        .map-container iframe { width: 100%; height: 100%; border: none; }

        /* --- MODAL (POST VIEW) --- */
        .modal-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 100;
            display: none; align-items: center; justify-content: center; padding: 20px;
        }
        .modal-overlay.active { display: flex; }
        .modal-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; z-index: 105; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
        
        .modal-content { background: var(--bg-card); width: 100%; max-width: 1000px; height: 85vh; border-radius: 32px; display: flex; overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
        
        .modal-media { width: 50%; background: #000; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
        .modal-media-track { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease; }
        .modal-media-item { width: 100%; height: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
        .modal-media-item img, .modal-media-item video { width: 100%; height: 100%; object-fit: contain; }
/* --- MODAL VIDEO WRAPPER & CONTROLS --- */
.modal-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    cursor: pointer;
}

.modal-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 5;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.video-play-btn svg {
    margin-left: 3px; /* Visual centering adjustment for play triangle */
}

/* Hide Play Button when video is playing */
.modal-video-wrapper.is-playing .video-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
}

/* White Localized Spinner */
.video-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: videoSpin 0.8s linear infinite;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 0.2s ease;
}

@keyframes videoSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Show Spinner on Buffering */
.modal-video-wrapper.is-buffering .video-spinner {
    opacity: 1;
}

.modal-video-wrapper.is-buffering .video-play-btn {
    opacity: 0 !important;
}
.modal-arrows { 
    position: absolute; 
    inset: 0; 
    pointer-events: none; /* Allows clicks to pass through the wrapper */
}

.m-arrow { 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto; /* Re-enables clicking on the actual buttons */
    background: rgba(0, 0, 0, 0.6); 
    color: white; 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    z-index: 10;
    transition: background 0.2s;
}

.m-arrow:hover { 
    background: rgba(0, 0, 0, 0.9); 
}

/* Pin each arrow to its specific side independently */
#m-prev { 
    left: 16px; 
}

#m-next { 
    right: 16px; 
}
        .modal-dots { position: absolute; bottom: 16px; left: 0; width: 100%; display: flex; justify-content: center; gap: 8px; }
        .m-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; }
        .m-dot.active { background: white; }

        .modal-details { width: 50%; padding: 40px; overflow-y: auto; display: flex; flex-direction: column; }
        /* --- MODAL HEADER LAYOUT --- */
.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 24px; 
}

.modal-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.modal-price { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--primary); /* Gold theme color */
}
        .icon-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: 0.2s; color: white; }
        .icon-btn:hover { background: rgba(255,255,255,0.2); }
        
        .post-title { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
        .post-desc { color: var(--text-muted); line-height: 1.6; margin-bottom: 32px; }
        .author-box { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }

        @media (max-width: 768px) {
            .modal-content { flex-direction: column; height: 90vh; }
            .modal-media, .modal-details { width: 100%; }
            .modal-media { height: 50%; }
            .modal-details { height: 50%; padding: 24px; }
        }

        /* Share Popup */
        .share-popup {
            position: absolute; top: 80px; right: 40px; background: var(--bg-darker);
            border-radius: 16px; padding: 20px; display: none; width: 300px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); z-index: 10;
        }
        .share-popup.active { display: block; }
        .share-popup h4 { margin-bottom: 16px; font-size: 16px; text-align: center; }
        .share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        .share-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: 0.2s; font-size: 12px; color: var(--text-muted); }
        .share-item:hover { color: white; }
        .share-icon-circle { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
        .share-item:hover .share-icon-circle { background: var(--primary); }
        .share-item svg { width: 20px; height: 20px; fill: currentColor; }

        /* Toast Alert */
        .toast { position: fixed; bottom: -70px; left: 50%; transform: translateX(-50%); background: white; color: black; padding: 12px 24px; border-radius: 30px; font-weight: bold; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: 0.3s; z-index: 1000; }
        .toast.show { bottom: 30px; }

        /* --- FOOTER --- */
        footer {
            background-color: #000; padding: 60px 24px; border-top: 1px solid rgba(255,255,255,0.05);
            color: #fff; font-size: 14px;
        }
        .footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
        .footer-logo img { max-width: 150px; margin-bottom: 30px; }
        .footer-columns { display: flex; gap: 80px; flex-wrap: wrap; }
        .footer-col { display: flex; flex-direction: column; gap: 16px; }
        /* .footer-col h4 { font-size: 16px; font-weight: bold; margin-bottom: 8px; } */
        .footer-col h4 {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 8px;
            border-left: 6px solid var(--primary);
            width: 100%;
            padding-left: 6px;
            background: transparent;
            text-transform: uppercase;
        }
        .footer-col a { color: var(--text-muted); transition: 0.2s; font-weight: 500; }
        .footer-col a:hover { color: white; text-decoration: underline; }
        .footer-bottom { max-width: 1200px; margin: 60px auto 0; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; flex-wrap: wrap; gap: 20px; }
        .social-icons { display: flex; gap: 16px; }
        .social-icons a { width: 36px; height: 36px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
        .social-icons a:hover { background: #444; }
        
        @media (max-width: 768px) {
            .footer-columns { gap: 40px; flex-direction: column; width: 100%; }
            .slider-arrow, .m-arrow { display: none !important; }
        }
        /* --- MOBILE SUBMENU STYLES --- */
        .mobile-dropdown {
            display: flex;
            flex-direction: column;
        }
        
        .mobile-dropdown-trigger {
            display: flex !important;
            justify-content: space-between;
            align-items: center;
        }
        
        .mobile-dropdown-menu {
            display: none; /* Hidden by default */
            flex-direction: column;
            background: rgba(255, 255, 255, 0.03); /* Subtle background to separate it */
        }
        
        /* Indent the child links slightly */
        .mobile-dropdown-menu a {
            padding-left: 40px !important; 
            font-size: 16px !important;
            border-bottom: 1px solid rgba(255,255,255,0.02) !important;
        }
        
        /* Classes applied via JavaScript when clicked */
        .mobile-dropdown.open .mobile-dropdown-menu {
            display: flex;
        }
        
        .mobile-arrow {
            transition: transform 0.3s ease;
        }
        
        .mobile-dropdown.open .mobile-arrow {
            transform: rotate(180deg); /* Flips the arrow upside down */
        }
        /* --- ABOUT SECTION RESPONSES --- */
.about-section {
    max-width: 1280px; 
    margin: 60px auto; 
    padding: 0 16px; 
}

/* Mobile Default: Stacked & Centered */
.about-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    gap: 0px;
}

.about-image-wrapper,
.about-content {
    width: 100%;
}

.about-img {
    width: 100%; 
    max-height: 500px; 
    object-fit: cover; 
    border-radius: 16px; 
}

.about-content p {
    max-width: 800px; 
    margin: 0 auto 24px auto;
}

/* Desktop Only: Side-by-Side (Image Left, Text Right) */
@media (min-width: 992px) {
    .about-container {
        flex-direction: row; /* Flips to horizontal */
        align-items: flex-start; 
        text-align: left; /* Aligns text to the left */
        gap: 60px; /* Space between image and text */
    }

    .about-image-wrapper,
    .about-content {
        flex: 1; /* Splits the space evenly (50/50) */
    }

    .about-content p {
        margin: 0 0 24px 0; /* Removes auto-centering margin on desktop */
    }
    .about-content { align-items: flex-start; }
}
/* --- GOOGLE-STYLE USER PROFILE DROPDOWN --- */
.user-profile-container {
    position: relative;
}

.user-profile-btn {
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--bg-card);
    min-width: 220px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    overflow: hidden;
}

/* Active class toggled by JS */
.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.profile-dropdown-links a {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: background 0.2s, color 0.2s;
}

.profile-dropdown-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}
/* --- PROFILE DROPDOWN LINKS & ICONS --- */
.profile-dropdown-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: background 0.2s, color 0.2s;
}

.profile-dropdown-links a svg {
    color: var(--text-muted);
    transition: color 0.2s;
    flex-shrink: 0;
}

.profile-dropdown-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.profile-dropdown-links a:hover svg {
    color: var(--primary);
}

/* --- MOBILE NAME VISIBILITY ON CLICK --- */
@media (max-width: 768px) {
    /* Hide name by default on mobile */
    .user-profile-container:not(.active) .user-name {
        display: none !important;
    }
    
    /* Reveal name and style container when clicked/active on mobile */
    .user-profile-container.active .user-name {
        display: flex !important;
    }
    
    .user-profile-container.active .user-profile-btn {
        background: rgba(255, 255, 255, 0.05);
        padding-right: 12px;
        border-radius: 20px;
    }
}
#close-user-menu { display: none; }
@media (max-width: 768px) {
    /* When the profile menu is open, hide the logo and hamburger on mobile to clear space */
    header.profile-open .logo,
    header.profile-open .hamburger,
    header.profile-open .currency-dropdown {
        display: none !important;
    }

    /* Center the remaining elements in the header */
    header.profile-open {
        justify-content: center !important;
    }

    header.profile-open .header-right {
        width: 100%;
        justify-content: center;
    }

    /* Ensure dropdown alignment adapts well to center screen on mobile */
    header.profile-open .profile-dropdown {
        left: 50%;
        transform: translateX(-50%) translateY(0) !important;
        width: 90vw;
        max-width: 320px;
    }
    .user-profile-container.active {
        display: flex;
        justify-content: space-between;
        display: flex;
        width: 90vw;
        max-width: 320px;
    }
    
    .user-profile-container #close-user-menu {
        background: none;
        color: white;
        font-size: 24px;
    }
    
    .user-profile-container.active #close-user-menu {
        display: block;
    }
}
/* --- INSTAGRAM MANUAL SLIDER --- */
.insta-section {
    width: 100%;
    margin: 60px 0 40px;
    padding: 0;
}

.insta-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 0 16px;
}

.insta-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
}

.insta-slider-track::-webkit-scrollbar {
    display: none; /* Chrome & Safari */
}

/* Responsive Post Card Sizing (Square Aspect Ratio) */
.insta-card {
    flex: 0 0 calc((100% - 64px) / 5); /* Displays 5 posts on large screens */
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 1024px) {
    .insta-card {
        flex: 0 0 calc((100% - 32px) / 3); /* Displays 3 posts on tablets */
    }
}

@media (max-width: 768px) {
    .insta-slider-track {
        gap: 12px;
    }
    .insta-card {
        flex: 0 0 calc((100% - 12px) / 2); /* Displays 2 posts on mobile */
    }
}

.insta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.insta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Arrows Styling */
.insta-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, border-color 0.2s;
}

.insta-arrow:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: var(--primary);
}

.insta-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 3px;
}

.insta-arrow.prev { left: 24px; }
.insta-arrow.next { right: 24px; }

/* Loader Spinner & Container */
.insta-loader-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.insta-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: instaSpin 0.9s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
    margin-bottom: 16px;
}

@keyframes instaSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.insta-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.insta-badge svg { width: 18px; height: 18px; fill: white; }

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.insta-card:hover .insta-overlay { opacity: 1; }
.nav-links a.active, .mobile-menu a.active { color: var(--primary); }
.insta-slider-track {  padding-left: 15px; }
.insta-slider-wrapper { padding: 0 }
.grid-container { margin-left: 7.5px; margin-right: 7.5px }

@media ( min-width: 0px ) and ( max-width: 249px ) {
    .grid-container > * { width: 100%; }
}
@media ( min-width: 250px ) {
    .grid-container > * { width: calc(50% - 7.5px); }
}
@media ( min-width: 500px ) {
    .grid-container > * { width: calc(33.3% - 10px); }
}
@media ( min-width: 750px ) {
    .grid-container > * { width: calc(25% - 12.5px); }
}
@media ( min-width: 1000px ) {
    .grid-container > * { width: calc(20% - 15px); } 
}
@media ( min-width: 1250px ) {
    .grid-container > * { width: calc(16.6% - 15px); } 
}
@media ( min-width: 1280px ) {
    .grid-container { margin-left:auto;margin-right:auto; }  
}
.insta-section .intro-title p a {
    text-decoration: underline dashed;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}
.insta-section .intro-title p a:hover { color: var(--primary); }
/* --- HERO VIDEO STYLES --- */
.hero-slide-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease; /* Smooth fade-in when video is ready */
    z-index: 1;
}

/* Class added via JS once the video is loaded & playing */
.hero-slide-video.is-ready {
    opacity: 1;
}

/* Ensure text overlay remains above the video */
.hero-overlay {
    z-index: 2;
}
/* --- DESKTOP NAV SOCIAL ICONS --- */
.nav-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-social-icons a:hover {
    background: var(--primary);
    /* transform: translateY(-2px); */
}

/* --- MOBILE NAV SOCIAL ICONS --- */
.mobile-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.mobile-social-icons a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 !important;
    border-bottom: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-social-icons a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}
/* --- FOOTER LOGO CONTAINER FLEX CONTROL --- */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

/* --- CUSTOM LANGUAGE DROPDOWN --- */
.custom-lang-dropdown {
    position: relative;
    display: inline-block;
    margin-top: 4px;
}

.lang-btn {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.lang-btn svg {
    transition: transform 0.3s ease;
}

.custom-lang-dropdown.open .lang-btn svg {
    transform: rotate(180deg);
}

/* --- DROPDOWN MENU --- */
.lang-menu {
    position: absolute;
    bottom: calc(100% + 8px); /* Displays ABOVE button since it's in the footer */
    left: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    padding: 6px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
max-height: 280px;
overflow-y: auto;
scrollbar-width: thin;
}

/* Custom Scrollbar Styling for Webkit (Chrome/Safari) */
.lang-menu::-webkit-scrollbar {
width: 6px;
}
.lang-menu::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 4px;
}
.lang-menu::-webkit-scrollbar-thumb:hover {
background: var(--primary);
}

.custom-lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu button {
    background: transparent;
    color: var(--text-light);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: none;
}

.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

/* --- SUPPRESS GOOGLE TRANSLATE BANNER & TOOLTIPS --- */
body {
    top: 0 !important;
}

.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
/* --- LOCK SCROLL DURING LOADING --- */
body.is-loading {
    overflow: hidden !important;
    touch-action: none;
    height: 100vh;
}

/* --- OVERLAY CONTAINER --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker, #000000);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --- INNER BRANDING & SPINNER --- */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Luxury Dual-Ring Gold Spinner */
.lux-spinner {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(165, 130, 76, 0.15);
    border-top: 2px solid var(--primary, rgb(165, 130, 76));
    border-right: 2px solid var(--primary, rgb(165, 130, 76));
    border-radius: 50%;
    animation: luxSpin 1s linear infinite;
    position: relative;
}

.lux-spinner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(165, 130, 76, 0.8);
    border-left: 2px solid rgba(165, 130, 76, 0.8);
    border-radius: 50%;
    animation: luxSpinReverse 1.4s linear infinite;
}

.loader-brand {
    color: var(--text-light, #efefef);
    font-family: var(--font-family, sans-serif);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: pulseText 2s ease-in-out infinite;
}

/* --- ANIMATIONS --- */
@keyframes luxSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes luxSpinReverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulseText {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.lang-menu button.active {
    color: var(--primary);
}
font[style],
.goog-text-highlight {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Optional: Prevent cursor from changing to a pointer on translated text */
font {
    cursor: inherit !important;
}
.nav-social-icons svg {
    margin-left: -1px;
}
.readmore-container {
    display: none;
    justify-content: center;
}
.grid-container .insta-loader-container {
    width: 100%;
}
.insta-card .video-play-btn {
    width: 45px;
    height: 45px; opacity:1;
    transition: opacity 0.2s ease;
}
.insta-card:hover .video-play-btn {
    opacity:0;transition: opacity 0.2s ease;
}
.related-title,
.category-title {
    text-align: left;
    padding: 60px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 7.5px;
    padding-right: 7.5px;
    margin-top: 15px;
    padding-top: 15px;
    padding-bottom: 0;
}
.related-title h2,
.category-title h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    border-left: 6px solid var(--primary);
    width: 100%;
    padding: 9px 0 9px 12px;
    background: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}
@media (min-width: 1280px) {
    .related-title,.category-title { padding:0; padding-top:15px }
}
 /* --- CURRENCY DROPDOWN --- */
.currency-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.currency-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.currency-btn svg {
    transition: transform 0.3s ease;
}

.currency-dropdown.open .currency-btn svg {
    transform: rotate(180deg);
}

/* --- DROPDOWN MENU --- */
.currency-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    padding: 6px 0;
    min-width: 140px;
    max-height: 260px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
}

.currency-menu::-webkit-scrollbar {
    width: 5px;
}

.currency-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.currency-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.currency-dropdown.open .currency-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-menu button {
    background: transparent;
    color: var(--text-light);
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.currency-menu button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.currency-menu button.active {
    color: var(--primary);
    font-weight: 700;
    background: rgba(165, 130, 76, 0.1);
}

@media (max-width: 480px) {
    .currency-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}
/* --- ORDER DROPDOWN --- */
.order-dropdown {
    position: relative;
    display: inline-block;
}

.order-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    padding: 6px 0;
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-dropdown.open .order-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.order-dropdown.open #order-btn svg {
    transform: rotate(180deg);
}

.order-btn svg {
    transition: transform 0.3s ease;
}

.order-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.order-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.order-menu a svg {
    color: var(--text-muted);
    transition: color 0.2s;
}

.order-menu a:hover svg {
    color: var(--primary);
}
#page-content {
    background: rgb(255 255 255 / 10%);
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    min-height: 400px;
    text-align: left;
    line-height: 1.8;
}
@media (min-width: 0px) and (max-width:599px) {
    .logo-nav { gap: 16px; }
    header { padding-left:16px; padding-right:16px }
}
/* --- RESPONSIVE STATIC PAGE WRAPPER --- */
.static-page-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    /* Fluid padding: scales smoothly between mobile (20px) and desktop (50px) */
    padding: clamp(20px, 5vw, 50px) 16px clamp(40px, 6vw, 80px);
}

.static-page-container .intro-title {
    text-align: center;
    padding: 0 0 clamp(16px, 3vw, 28px) 0;
    margin: 0 auto;
}

.static-page-container .intro-title h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.25;
    color: var(--text-light);
}

.static-page-container .intro-title p {
    font-size: clamp(12px, 2vw, 14px);
    color: var(--text-muted);
}

/* --- RESPONSIVE DYNAMIC CONTENT BOX --- */
.page-content-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    padding: clamp(18px, 4.5vw, 40px);
    border-radius: 16px;
    min-height: 350px;
    text-align: left;
    line-height: 1.75;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Prevents long URLs or text from blowing out mobile screens */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --- DYNAMIC HTML CONTENT RESPONSIVENESS --- */
.page-content-box p {
    margin-bottom: 1.25rem;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.page-content-box p:last-child {
    margin-bottom: 0;
}

.page-content-box h1 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 1.8rem 0 0.8rem; }
.page-content-box h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin: 1.6rem 0 0.7rem; }
.page-content-box h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); margin: 1.4rem 0 0.6rem; }
.page-content-box h4 { font-size: clamp(1rem, 2vw, 1.15rem); margin: 1.2rem 0 0.5rem; }

.page-content-box a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    word-break: break-word;
}

.page-content-box ul,
.page-content-box ol {
    margin-bottom: 1.25rem;
    padding-left: 1.25rem;
}

.page-content-box li {
    margin-bottom: 0.4rem;
}

/* Responsive Media (Images, Videos, Embeds) */
.page-content-box img,
.page-content-box video,
.page-content-box iframe {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.25rem 0;
    display: block;
}

/* Horizontal scroll wrapper for HTML tables on mobile screens */
.page-content-box table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1.25rem 0;
}

.page-content-box th,
.page-content-box td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.page-content-box blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 14px;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    .static-page-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-content-box {
        border-radius: 12px;
    }
}
.grid-container.related,.grid-container.category { max-width: 1200px; }
@media (min-width: 1000px) {
    .grid-container.related > *,
    .grid-container.category > * {
        width: calc(20% - 15px);
    }
}
.static-page-container #page-meta { display: flex;width: 100%;justify-content: center;align-items: center;gap: 6px; }

.category-title span {
    display: block;
}

span.top-cat-line {
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: normal;
    font-family: sans-serif;
    color: #bcbcbc;
}

section.category-title {
    letter-spacing: 1px;
}

span#cat-name {
    letter-spacing: 1px;
}
.category-title h2 { padding: 10px 0 10px 12px; }
.live-chat-box {
    height: calc(100vh - 60px) !important;
    border: 0;
}