/**
 * Eddie's Ink — Luxury Dark Glass Dual-Mode Lightbox Gallery System
 * 
 * Aesthetics:
 * - Glass.Dark backdrop & frosted surface
 * - Mode 1: Editorial Split View (Desktop) / Touch Bottom-Sheet (Mobile)
 * - Mode 2: Immersive Full Focus with edge-to-edge containment & floating info bar
 * - Multi-Shot / Process Pill Tabs (01 · Final Piece, 02 · Detail, 03 · Process)
 */

/* ── 1. GALLERY GRID & EDITORIAL PAGE LAYOUT ───────────────────────── */
.gallery-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* Header & Manifesto */
.gallery-hero-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 50px;
}

.gallery-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.gallery-page-title {
    font-family: var(--font-heading, 'InkBasic', serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: 2px;
    line-height: 1.05;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.gallery-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gallery Filter Pills */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
    width: 100%;
}

.gallery-filter-pill {
    background: rgba(14, 14, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    padding: 10px 22px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.gallery-filter-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.gallery-filter-pill.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Gallery Masonry Grid */
.gallery-grid,
.gallery-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gallery-grid,
    .gallery-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.gallery-card,
.gallery-card-item {
    background: rgba(15, 15, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    content-visibility: auto;
    contain-intrinsic-size: auto none auto 450px;
}

.gallery-card:hover,
.gallery-card-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.08);
}

.gallery-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #09090c;
    contain: layout paint;
}

.gallery-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
    filter: grayscale(12%) contrast(1.05);
}

.gallery-card:hover .gallery-card-thumb,
.gallery-card-item:hover .gallery-card-thumb {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.1);
}

.gallery-card-shots-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(8, 8, 12, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gallery-card-shots-badge .shots-badge-icon {
    color: rgba(255, 255, 255, 0.85);
    font-size: 8px;
}

.gallery-card-price-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 15, 20, 0.85);
    border: 1px solid rgba(52, 211, 153, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #34d399;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.gallery-card-info {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
    box-sizing: border-box;
}

.gallery-card-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
    font-weight: 700;
}

.gallery-card-title {
    font-family: var(--font-heading, 'InkBasic', serif);
    font-size: 1.45rem;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.gallery-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 2. DARK GLASS DUAL-MODE LIGHTBOX MODAL ───────────────────────── */
html.gallery-modal-open,
body.gallery-modal-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
}

body.gallery-modal-open .page-body {
    overflow: hidden !important;
    touch-action: none !important;
}

/* Ensure sticky navigation dock stays pristine and accessible above all layers */
.sticky-nav,
#main-sticky-nav {
    z-index: 10000020 !important;
}

/* Maintain underlying page & polaroid atmosphere visible behind modal while preventing background interaction */
body.lightbox-open .page-body,
body.gallery-modal-open .page-body {
    pointer-events: none !important;
}

:root {
    --eddies-nav-height: 72px;
    --nav-height: 72px;
    --gallery-frame-gap-y: clamp(16px, 2.5vh, 32px);
    --gallery-frame-gap-x: clamp(16px, 2.8vw, 44px);
    --gallery-nav-offset: calc(var(--nav-height) + var(--gallery-frame-gap-y));
}

@media (max-width: 768px) {
    :root {
        --eddies-nav-height: 64px;
        --nav-height: 64px;
        --gallery-frame-gap-y: 0px;
        --gallery-frame-gap-x: 0px;
        --gallery-nav-offset: var(--nav-height);
    }
}

/* ── UNIFIED NAVBAR GALLERY CONTROLS (Desktop Dock Integration) ─────── */
.sticky-nav-filmstrip-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    flex-shrink: 1;
    min-width: 0;
}

#main-sticky-nav.is-lightbox-mode .sticky-nav-filmstrip-slot.has-shots {
    opacity: 1;
    visibility: visible;
    max-width: 380px;
    pointer-events: auto;
}

.nav-filmstrip-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px;
}
.nav-filmstrip-track::-webkit-scrollbar { display: none; }

.nav-filmstrip-thumb {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.6;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-filmstrip-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.nav-filmstrip-thumb.active {
    opacity: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
    transform: scale(1.06);
}

.nav-filmstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-filmstrip-thumb .nav-thumb-num {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 0.5rem;
    font-family: 'Inter', monospace, sans-serif;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
}

.nav-filmstrip-thumb.is-claimed-thumb {
    border-color: rgba(239, 68, 68, 0.4);
}
.nav-filmstrip-thumb .thumb-claimed-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    font-size: 11px;
}

.nav-filmstrip-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    width: 20px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    user-select: none;
    padding: 0;
}
.nav-filmstrip-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Transform Menu Toggle into Close Button [✕] in Lightbox Mode */
#main-sticky-nav.is-lightbox-mode #menu-toggle-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.25) !important;
}
#main-sticky-nav.is-lightbox-mode #menu-toggle-btn .menu-toggle-icon {
    transform: rotate(45deg) scale(1.18);
    color: #ffffff;
    font-weight: 300;
}
#main-sticky-nav.is-lightbox-mode #menu-toggle-btn:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: rgba(239, 68, 68, 0.65) !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.4) !important;
    transform: scale(1.08) !important;
}
#main-sticky-nav.is-lightbox-mode #menu-toggle-btn:hover .menu-toggle-icon {
    color: #ff7878 !important;
}

/* Ensure Header Title & Nav are active when Lightbox is open */
#main-sticky-nav.is-lightbox-mode .sticky-nav-title {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
#main-sticky-nav.is-lightbox-mode {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .sticky-nav-filmstrip-slot {
        display: none !important;
    }
}

/* ── LIGHTBOX BACKDROP & FRAME (SEAMLESS STUDIO DESKTOP) ────────────── */
.luxury-lightbox-backdrop,
#luxury-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(2, 2, 4, 0.72) !important;
    backdrop-filter: blur(10px) saturate(100%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(100%) !important;
    z-index: 10000010 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overscroll-behavior: contain;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    box-sizing: border-box;
    padding: 0;
}

.luxury-lightbox-backdrop.is-open,
#luxury-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Lightbox Main Frame (Clean Canvas Container) */
.luxury-lightbox-frame {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: none;
    transition: opacity 0.3s ease;
    /* Light-dismiss: frame is transparent to clicks so backdrop receives them */
    pointer-events: none;
}

/* Restore pointer-events on all interactive elements inside the frame */
.luxury-lightbox-frame > *,
.lightbox-dock,
.lightbox-split-visual-col,
.lightbox-split-info-col,
.lightbox-zoom-toolbar,
.lightbox-close-btn,
.lightbox-ghost-nav-zone,
.lightbox-admin-edit-pill {
    pointer-events: auto;
}

.luxury-lightbox-backdrop.is-open .luxury-lightbox-frame {
    transform: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .luxury-lightbox-backdrop {
        padding: 0 !important;
    }
    .luxury-lightbox-frame {
        width: 100vw;
        max-width: 100vw;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
    }
}

/* Lightbox Top Control Bar — Hidden on Desktop, unified into Dock */
@media (min-width: 769px) {
    .luxury-lightbox-header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .luxury-lightbox-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(25px) saturate(140%);
        -webkit-backdrop-filter: blur(25px) saturate(140%);
        flex-shrink: 0;
        gap: 16px;
    }
}

.lightbox-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* Multi-Shot Thumbnail Carousel Filmstrip (Mobile fallback) */
.lightbox-thumb-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    overflow: hidden;
}

.lightbox-carousel-arrow {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    width: 26px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.lightbox-thumb-filmstrip {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 4px;
}
.lightbox-thumb-filmstrip::-webkit-scrollbar { display: none; }

.lightbox-thumb-item {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.55;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lightbox-thumb-item:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.lightbox-thumb-item.active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    transform: scale(1.08);
}

.lightbox-thumb-img, .lightbox-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-thumb-num, .lightbox-thumb-item .thumb-num {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 0.55rem;
    font-family: 'Inter', sans-serif;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    padding: 1px 3px;
    border-radius: 3px;
    line-height: 1;
    font-weight: 600;
}

.lightbox-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mode Switch Toggle Button (Glass.Dark) */
.lightbox-mode-toggle-btn {
    background: rgba(0, 0, 0, 0.55);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-mode-toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.lightbox-close-btn {
    background: rgba(0, 0, 0, 0.55);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-close-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

/* Mobile-only Trigger - Completely hidden on Desktop */
.mobile-info-peek-trigger {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* ── 3. MODE 1: EDITORIAL SPLIT VIEW ──────────────────────────────── */
.luxury-lightbox-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
    height: 100%;
}

/* Split View: Left Image Column (Edge-to-Edge Full Bleed Canvas) */
.lightbox-split-visual-col {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000015 !important;
    background: transparent !important;
    border-radius: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}

.lightbox-visual-wrap {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: transparent !important;
}

@media (min-width: 769px) {
    .luxury-lightbox-frame:not(.is-full-focus) .lightbox-visual-wrap {
        padding-right: calc(360px + 28px) !important;
        transition: padding-right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .luxury-lightbox-frame.is-full-focus .lightbox-visual-wrap {
        padding-right: 0 !important;
        transition: padding-right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

.lightbox-img-viewport {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    touch-action: none;
    cursor: default;
    background: transparent !important;
}

.lightbox-img-viewport.is-zoomed {
    cursor: grab;
}

.lightbox-img-viewport.is-panning {
    cursor: grabbing;
}

.lightbox-main-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-img-viewport.is-panning .lightbox-main-img {
    transition: opacity 0.25s ease; /* instantaneous pan response */
}


/* ── LUXURY FLOATING ZOOM & MODE TOOLBAR ─────────────────────────── */
.lightbox-zoom-toolbar {
    position: absolute;
    bottom: 16px;
    right: calc(360px + 36px);
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 769px) {
    .luxury-lightbox-frame.is-full-focus .lightbox-zoom-toolbar {
        right: 32px;
    }
}
.lightbox-zoom-toolbar {
    background: rgba(0, 0, 0, 0.65);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    backdrop-filter: blur(25px) saturate(140%);
    -webkit-backdrop-filter: blur(25px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10000025 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
}

.lightbox-zoom-toolbar:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 255, 255, 0.25);
}

.lightbox-zoom-cluster {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lightbox-zoom-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.lightbox-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-zoom-btn:active {
    transform: scale(0.92);
}

.lightbox-zoom-btn.zoom-reset-btn {
    font-size: 0.95rem;
    opacity: 0.75;
}

.lightbox-zoom-btn.zoom-reset-btn:hover {
    opacity: 1;
}

.lightbox-zoom-level {
    font-family: 'Inter', monospace, sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 4px;
    min-width: 38px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.lightbox-zoom-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.16);
    margin: 0 2px;
}

.lightbox-info-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.lightbox-info-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

.lightbox-info-toggle-btn.active {
    background: #ffffff;
    color: #0c0c0e;
    border-color: #ffffff;
}

/* ── ULTRA-SUBTLE GHOST NAVIGATION ZONES (ZERO CLUTTER) ─────────── */
.lightbox-ghost-nav-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    max-width: 140px;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    padding: 0;
    transition: opacity 0.3s ease;
}

.lightbox-ghost-nav-zone.prev-zone {
    left: 0;
    cursor: w-resize;
}

.lightbox-ghost-nav-zone.next-zone {
    right: 0;
    cursor: e-resize;
}

/* ── SMART BOUNDARY: Next zone stops at the left edge of the floating panel ── */
@media (min-width: 769px) {
    .lightbox-ghost-nav-zone.next-zone {
        /* End at panel left edge: 360px width + 24px gutter */
        right: calc(360px + 24px) !important;
        width: 25% !important;
        max-width: 140px !important;
        left: auto !important;
    }

    /* If visible carousel arrow exists */
    .lightbox-split-visual-col .carousel-next-arrow,
    .lightbox-split-visual-col .lightbox-nav-next {
        right: calc(360px + 24px + 12px) !important;
    }

    /* Full Focus (panel hidden): restore full canvas reach */
    .luxury-lightbox-frame.is-full-focus .lightbox-ghost-nav-zone.next-zone {
        right: 0 !important;
        width: 25% !important;
        max-width: 140px !important;
        left: auto !important;
    }

    .luxury-lightbox-frame.is-full-focus .carousel-next-arrow,
    .luxury-lightbox-frame.is-full-focus .lightbox-nav-next {
        right: 20px !important;
    }
}


.ghost-nav-chevron {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(14, 14, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    user-select: none;
}

.lightbox-ghost-nav-zone:hover .ghost-nav-chevron {
    opacity: 1;
    transform: scale(1);
    background: rgba(24, 24, 30, 0.85);
    border-color: var(--accent-blue, #ffffff);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
}

.lightbox-ghost-nav-zone.is-disabled {
    display: none !important;
}

/* Split View: Right Editorial Column — FLOATING CARD GLASS.DARK LATERAL WINDOW (Desktop Only) */
@media (min-width: 769px) {
    .lightbox-split-info-col {
        position: absolute !important;
        top: calc(var(--nav-height, 72px) + 16px) !important;
        right: 24px !important;
        bottom: 20px !important;
        left: auto !important;
        width: 360px !important;
        max-width: 360px !important;
        height: calc(100% - var(--nav-height, 72px) - 36px) !important;
        margin: 0 !important;
        overflow-y: auto;
        overflow-x: hidden !important;
        padding: 22px 22px !important;
        box-sizing: border-box;
        border: var(--glass-dark-border, 1px solid rgba(255, 255, 255, 0.14)) !important;
        border-radius: 20px !important;
        display: flex;
        flex-direction: column;
        background: var(--glass-dark-bg, rgba(12, 12, 16, 0.72)) !important;
        background-image: var(--glass-dark-noise, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E")) !important;
        background-blend-mode: overlay !important;
        backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%)) !important;
        -webkit-backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%)) !important;
        box-shadow: var(--glass-dark-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.15)), 
                    var(--glass-dark-shadow, 0 24px 60px rgba(0, 0, 0, 0.65)) !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
        z-index: 10000020 !important;
        opacity: 1;
        transform: none !important;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        will-change: transform, opacity;
    }

    /* Single Permalink Override: page container already provides padding-top offset */
    .eddies-single-showcase-page .lightbox-split-info-col {
        top: 20px !important;
        height: calc(100% - 40px) !important;
    }

    /* WordPress Admin Bar Compatibility for Floating Island (Desktop > 782px) */
    body.admin-bar .luxury-lightbox-backdrop .lightbox-split-info-col,
    body.admin-bar #luxury-lightbox .lightbox-split-info-col {
        top: calc(32px + var(--nav-height, 72px) + 16px) !important;
        height: calc(100vh - 32px - var(--nav-height, 72px) - 36px) !important;
    }
}

@media (max-width: 782px) {
    body.admin-bar .luxury-lightbox-backdrop .lightbox-split-info-col,
    body.admin-bar #luxury-lightbox .lightbox-split-info-col {
        top: calc(46px + var(--nav-height, 64px) + 12px) !important;
        height: calc(100dvh - 46px - var(--nav-height, 64px) - 24px) !important;
    }
}

    /* Immutable Glass.Dark State on Hover/Focus (Informational panel, never morphs to Glass.Light) */
    .lightbox-split-info-col:hover,
    .lightbox-split-info-col:focus-within {
        background: var(--glass-dark-bg, rgba(12, 12, 16, 0.72)) !important;
        background-image: var(--glass-dark-noise, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E")) !important;
        background-blend-mode: overlay !important;
        backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%)) !important;
        -webkit-backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%)) !important;
        border: var(--glass-dark-border, 1px solid rgba(255, 255, 255, 0.14)) !important;
        box-shadow: var(--glass-dark-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.15)), 
                    var(--glass-dark-shadow, 0 24px 60px rgba(0, 0, 0, 0.65)) !important;
        transform: none !important;
    }
}

.lightbox-info-scroll-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden !important;
    padding-bottom: 8px;
}

/* Custom Refined Scrollbar for Info Col */
.lightbox-split-info-col::-webkit-scrollbar { 
    width: 4px; 
}
.lightbox-split-info-col::-webkit-scrollbar-track {
    background: transparent;
}
.lightbox-split-info-col::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 10px; 
}
.lightbox-split-info-col::-webkit-scrollbar-thumb:hover { 
    background: rgba(255, 255, 255, 0.4); 
}

.lightbox-info-meta-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    width: 100%;
}

.lightbox-info-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.lightbox-panel-close-btn {
    display: none !important;
}

.lightbox-info-badges-row {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 4px !important;
}

.lightbox-info-badges-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

.lightbox-info-price {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 10px !important;
    border-radius: 100px !important;
    font-family: 'Inter', sans-serif !important;
    display: inline-flex;
    align-items: center;
    box-shadow: none !important;
}

.lightbox-info-status {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 100px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: 'Inter', sans-serif !important;
    display: inline-flex;
    align-items: center;
}

.lightbox-info-category {
    font-family: 'Inter', sans-serif;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-top: 4px !important;
    margin-bottom: 12px !important;
}

.lightbox-info-title {
    font-family: var(--font-heading, 'InkBasic', serif);
    font-size: clamp(1.35rem, 1.6vw, 1.85rem) !important;
    color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15;
    letter-spacing: 0.5px;
    word-break: break-word;
    flex: 1;
}

.lightbox-section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 8px;
    display: block;
    font-weight: 700;
}

.eddies-admin-edit-pill,
.lightbox-admin-edit-pill {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 9px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.eddies-admin-edit-pill:hover,
.lightbox-admin-edit-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.lightbox-narrative-section {
    margin-bottom: 18px;
    background: transparent;
    border: none;
    padding: 0;
}

.lightbox-concept-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.82rem, 0.9vw, 0.88rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin: 0;
}

/* Dynamic Variant Selector Section */
.lightbox-variants-section {
    margin-bottom: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.lightbox-variants-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.lightbox-variant-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.lightbox-variant-pill:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.lightbox-variant-pill.is-active {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.lightbox-variant-pill-price {
    color: #34d399;
    font-weight: 700;
}

/* Technical Specs: 2x2 Glass Grid */
.lightbox-specs-section {
    margin-bottom: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
}

.lightbox-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.lightbox-spec-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-spec-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.lightbox-spec-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 700;
}

.lightbox-spec-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.35;
}

/* Action CTA Pinned Cleanly to the Bottom */
.lightbox-cta-wrap,
.lightbox-action-section {
    margin-top: auto;
    padding-top: 14px;
    padding-bottom: 4px;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.lightbox-action-buttons-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.lightbox-primary-action-btn,
.lightbox-inquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    /* Glass.Dark pill — matches the Eddie's Ink design system */
    background: var(--glass-dark-bg, rgba(12, 12, 16, 0.72));
    backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%));
    -webkit-backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%));
    border: var(--glass-dark-border, 1px solid rgba(255, 255, 255, 0.14));
    box-shadow: var(--glass-dark-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.15)), 0 4px 20px rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.65rem, 0.75vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 13px 20px;
    /* Pill shape */
    border-radius: 9999px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

a.lightbox-primary-action-btn:hover,
a.lightbox-inquire-btn:hover,
button.lightbox-primary-action-btn:hover,
button.lightbox-inquire-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: var(--glass-dark-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.15)), 0 12px 35px rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.lightbox-bag-quick-btn {
    background: var(--glass-dark-bg, rgba(12, 12, 16, 0.72));
    backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%));
    -webkit-backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%));
    border: var(--glass-dark-border, 1px solid rgba(255, 255, 255, 0.14));
    box-shadow: var(--glass-dark-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.15));
    color: rgba(255, 255, 255, 0.88);
    padding: 11px 18px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

button.lightbox-bag-quick-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: translateY(-2px);
}

.lightbox-bag-quick-btn.is-added {
    background: rgba(52, 211, 153, 0.25) !important;
    border-color: #34d399 !important;
    color: #34d399 !important;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4) !important;
}

.lightbox-share-btn {
    background: var(--glass-dark-bg, rgba(12, 12, 16, 0.72));
    backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%));
    -webkit-backdrop-filter: var(--glass-dark-blur, blur(28px) saturate(140%));
    border: var(--glass-dark-border, 1px solid rgba(255, 255, 255, 0.14));
    box-shadow: var(--glass-dark-highlight, inset 0 1px 0 rgba(255, 255, 255, 0.15));
    color: rgba(255, 255, 255, 0.88);
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

button.lightbox-share-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ── 4. MODE 2: IMMERSIVE FULL FOCUS ──────────────────────────────── */

@media (min-width: 769px) {
    .luxury-lightbox-frame.is-full-focus .lightbox-split-info-col {
        display: flex !important;
        transform: translateX(calc(100% + 40px)) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .luxury-lightbox-frame.is-full-focus .lightbox-zoom-toolbar {
        right: 24px !important;
    }
}

/* ── 5. RESPONSIVE / MOBILE TOUCH ARCHITECTURE (< 768px) ─────────── */
@media (max-width: 768px) {
    .gallery-page-container {
        padding: 85px 8px 60px;
    }

    /* Mobile 3-Column Editorial Grid (De tres en tres y sin detalles) */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 100%;
    }

    .gallery-card {
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: #09090c;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .gallery-card-thumb-wrap {
        aspect-ratio: 1 / 1;
        border-radius: 7px;
    }

    .gallery-card-thumb {
        border-radius: 7px;
    }

    /* Hide textual details on mobile */
    .gallery-card-info {
        display: none !important;
    }

    /* Show only the shot count badge in corner */
    .gallery-card-shots-badge {
        top: 5px;
        right: 5px;
        padding: 2px 6px;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        background: rgba(0, 0, 0, 0.72);
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 100px;
        display: flex;
        align-items: center;
        gap: 2px;
        line-height: 1;
    }

    .gallery-card-shots-badge .shots-badge-label {
        display: none;
    }

    .luxury-lightbox-backdrop {
        padding: 0 !important;
        margin: 0 !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        box-sizing: border-box;
    }

    /* Frame is strictly edge-to-edge full viewport with floating Glass.Dark layers */
    .luxury-lightbox-frame,
    .luxury-lightbox-frame.is-full-focus {
        border-radius: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        position: relative !important;
    }

    /* Floating Header: Separate Standalone Carousel Pill + Independent Close Button */
    .luxury-lightbox-header {
        position: absolute !important;
        top: calc(56px + env(safe-area-inset-top, 0px) + 12px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 30 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0 16px !important;
        gap: 12px !important;
        background: transparent !important;
        background-image: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        pointer-events: none !important;
        box-sizing: border-box !important;
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Standalone Floating Carousel Capsule (Auto-resized to shot count, matching 8px image radius) */
    .lightbox-header-left {
        flex: 0 0 auto !important;
        width: fit-content !important;
        max-width: calc(100vw - 90px) !important;
        pointer-events: auto !important;
        background: rgba(18, 18, 24, 0.72) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E") !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(25px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 8px !important;
        padding: 4px 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain !important;
    }

    .lightbox-thumb-carousel-wrap {
        display: inline-flex !important;
        align-items: center !important;
        width: fit-content !important;
        gap: 6px !important;
        touch-action: pan-x !important;
    }

    /* Completely eliminate carousel arrows on mobile */
    .lightbox-carousel-arrow,
    .carousel-prev-arrow,
    .carousel-next-arrow {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .lightbox-thumb-filmstrip {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        gap: 6px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 !important;
        width: fit-content !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain !important;
    }

    .lightbox-thumb-item {
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
        opacity: 0.65;
    }

    .lightbox-thumb-item img,
    .lightbox-thumb-img {
        border-radius: 7px !important;
    }

    .lightbox-thumb-item.active {
        opacity: 1 !important;
        border-color: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
        transform: scale(1.05) !important;
    }

    /* Standalone Floating Circular Close Button */
    .lightbox-header-right {
        flex: 0 0 auto !important;
        pointer-events: auto !important;
    }

    .lightbox-close-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        background: rgba(18, 18, 24, 0.72) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E") !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(25px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
        font-size: 1.25rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        cursor: pointer !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .lightbox-close-btn:active {
        background: rgba(239, 68, 68, 0.3) !important;
        border-color: rgba(239, 68, 68, 0.6) !important;
        transform: scale(0.94) !important;
    }

    /* Auto-Hide All UI Bars on Zoom / Canvas Interaction */
    .luxury-lightbox-frame.is-interacting .luxury-lightbox-header,
    .luxury-lightbox-frame.is-zoomed-view .luxury-lightbox-header {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-20px) !important;
    }

    .luxury-lightbox-frame.is-interacting .lightbox-split-info-col,
    .luxury-lightbox-frame.is-zoomed-view .lightbox-split-info-col {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(140%) !important;
    }

    /* Body Spans 100% of Screen Edge-to-Edge with Zero Margins */
    .luxury-lightbox-body {
        position: absolute !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 1 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Mobile Visual Column (Full Viewport Edge-to-Edge Behind All Floating UI) */
    .lightbox-split-visual-col {
        position: absolute !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        z-index: 1 !important;
    }

    .lightbox-visual-wrap {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .lightbox-img-viewport {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        touch-action: none;
        background: transparent !important;
    }

    .lightbox-main-img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100vw !important;
        max-height: calc(100dvh - 60px) !important;
        object-fit: contain !important;
        object-position: center center !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        transform-origin: center center;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
        will-change: transform;
    }

    /* Completely hide navigation arrows & zoom toolbar on mobile */
    .lightbox-ghost-nav-zone,
    .ghost-nav-chevron,
    .lightbox-nav-btn,
    .lightbox-zoom-toolbar {
        display: none !important;
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Mobile Bottom-Sheet (120 FPS Content-Aware Adaptive Drawer) */
    .lightbox-split-info-col {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: calc(85dvh - 50px) !important;
        z-index: 50 !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
        padding: 8px 18px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 22px 22px 0 0 !important;
        background: rgba(12, 12, 16, 0.88) !important;
        background-image: var(--glass-dark-noise, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E")) !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(28px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(140%) !important;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        overflow-y: hidden !important;
        transform: translateY(calc(100% - 56px)) !important; /* Clean 56px peek: handle + title only */
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease !important;
        will-change: transform;
        touch-action: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 !important;
    }

    .lightbox-split-info-col::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .lightbox-split-info-col.is-expanded {
        transform: translateY(0) !important; /* Fully Expanded State */
        overflow-y: auto !important; /* Enable scroll when fully expanded */
        touch-action: pan-y !important;
    }

    .luxury-lightbox-frame.is-full-focus .lightbox-split-info-col {
        transform: translateY(120%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        box-shadow: none !important;
        pointer-events: none !important;
    }

    /* Single 3px Minimalist Drag Indicator (Apple iOS Style) */
    .lightbox-bottom-sheet-handle {
        display: block !important;
        width: 38px !important;
        height: 3px !important;
        min-height: 3px !important;
        max-height: 3px !important;
        background: rgba(255, 255, 255, 0.45) !important;
        border-radius: 10px !important;
        margin: 2px auto 10px !important;
        cursor: grab !important;
        touch-action: none;
        box-sizing: border-box !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        transition: background-color 0.2s ease;
    }

    .lightbox-bottom-sheet-handle:active {
        background: rgba(255, 255, 255, 0.75) !important;
    }

    .lightbox-panel-close-btn {
        display: none !important;
    }

    .lightbox-info-meta-wrap {
        margin-bottom: 18px !important;
    }

    /* In resting state, hide badges row completely so only handle + title peek */
    .lightbox-split-info-col:not(.is-expanded) .lightbox-info-badges-row {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .lightbox-split-info-col.is-expanded .lightbox-info-badges-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    .lightbox-info-title {
        font-size: clamp(1.3rem, 4.5vw, 1.6rem) !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        margin: 0 auto !important;
        text-align: center !important;
        white-space: normal !important;
        max-width: 90vw !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
    }

    .lightbox-info-price {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #34d399 !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        padding: 4px 14px !important;
        border-radius: 100px !important;
        display: inline-block !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

    .lightbox-info-price:empty,
    .lightbox-info-status:empty,
    .lightbox-admin-edit-pill:empty {
        display: none !important;
    }

    /* Hide status pill (Fresh/Healed) on mobile peek header to eliminate visual noise */
    .lightbox-info-status {
        display: none !important;
    }

    /* Prevent Category from bleeding through the peek slot in resting state */
    .lightbox-split-info-col:not(.is-expanded) .lightbox-info-category {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        max-height: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .lightbox-split-info-col.is-expanded .lightbox-info-category {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        text-align: center !important;
        margin-top: 4px !important;
        margin-bottom: 14px !important;
        font-size: 0.72rem !important;
        letter-spacing: 2px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        transition: opacity 0.25s ease 0.1s;
    }

    .lightbox-section-label {
        font-size: 11px !important;
        letter-spacing: 2px !important;
        color: rgba(255, 255, 255, 0.45) !important;
        text-transform: uppercase !important;
        margin-bottom: 8px !important;
        display: block !important;
    }

    .lightbox-concept-text {
        font-size: 15px !important;
        line-height: 1.7 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 400 !important;
    }

    .lightbox-specs-section {
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-top: 16px !important;
        margin-top: 16px !important;
    }

    .lightbox-specs-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px 16px !important;
        margin-top: 8px !important;
    }

    .lightbox-spec-label {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        color: rgba(255, 255, 255, 0.45) !important;
        text-transform: uppercase !important;
    }

    .lightbox-spec-value {
        font-size: 13.5px !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    /* Mobile Bottom Info Reveal Trigger - Permanently Removed as requested */
    .mobile-info-peek-trigger,
    .luxury-lightbox-frame.is-full-focus .mobile-info-peek-trigger {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .lightbox-action-section {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
        margin-top: 20px !important;
        position: relative !important;
        bottom: auto !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding-top: 14px !important;
        padding-bottom: 4px !important;
        z-index: 10 !important;
    }

    .lightbox-inquire-btn {
        flex: 1 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: 2px !important;
        text-transform: uppercase !important;
        padding: 15px 20px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E") !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(25px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        color: #ffffff !important;
        border-radius: 10px !important;
        text-align: center !important;
        text-decoration: none !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .lightbox-inquire-btn:hover,
    .lightbox-inquire-btn:focus-visible {
        background: rgba(255, 255, 255, 0.16) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E") !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(25px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }

    .lightbox-inquire-btn:active {
        background: rgba(255, 255, 255, 0.24) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
        transform: scale(0.98) !important;
    }

    .lightbox-share-btn {
        background: rgba(255, 255, 255, 0.08) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E") !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(25px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        color: #ffffff !important;
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
        flex-shrink: 0 !important;
    }

    .lightbox-share-btn:hover,
    .lightbox-share-btn:focus-visible {
        background: rgba(255, 255, 255, 0.16) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E") !important;
        background-blend-mode: overlay !important;
        backdrop-filter: blur(25px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(140%) !important;
        border-color: rgba(255, 255, 255, 0.45) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
        transform: translateY(-1px);
    }

    .lightbox-share-btn:active {
        background: rgba(255, 255, 255, 0.24) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
        transform: scale(0.96) !important;
    }

    /* Full Focus on Mobile: Edge-to-Edge */
    .luxury-lightbox-frame.is-full-focus {
        max-width: 100vw;
        height: 100dvh;
    }

    .luxury-lightbox-frame.is-full-focus .lightbox-split-visual-col {
        height: 100%;
        width: 100%;
    }
}

/* ── 8. HOME LATEST UPDATES & GLOBAL JOURNAL FEED ─────────────────── */
.home-latest-updates-section {
    width: 100%;
    max-width: 1320px;
    margin: 80px auto 60px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.home-updates-header {
    text-align: center;
    margin-bottom: 48px;
}

.home-updates-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-updates-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: 6px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.home-updates-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.home-updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.home-update-card {
    background: rgba(14, 14, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-update-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.08);
}

.home-update-card .gallery-card-media {
    position: relative;
    width: 100%;
    height: 380px;
    background: #09090c;
    overflow: hidden;
}

.home-update-card .gallery-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-update-card:hover .gallery-card-media img {
    transform: scale(1.05);
}

.home-update-card .gallery-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 100px;
    color: #ffffff;
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-update-card .gallery-card-info {
    padding: 24px 22px;
}

.home-update-card .gallery-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
}

.home-update-card .gallery-card-shots-count {
    color: rgba(255, 255, 255, 0.85);
}

.home-update-card .gallery-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px;
}

.home-update-card .gallery-card-concept-preview {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

