/* Zantanah Lightbox Styles */
.zt-lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.zt-lightbox-overlay.is-active { display: flex; }
.zt-lightbox-stage {
    position: relative;
    max-width: 90vw;
    max-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zt-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    user-select: none;
    transition: opacity 0.2s ease;
}
.zt-lb-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: background 0.2s ease, transform 0.2s ease;
    user-select: none;
}
.zt-lb-btn:hover { 
    background: rgba(255, 255, 255, 0.35); 
    transform: scale(1.05);
}
.zt-lb-prev { left: -65px; }
.zt-lb-next { right: -65px; }
.zt-lb-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    background: transparent;
    color: #ffffff;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}
.zt-lb-close:hover { transform: scale(1.15); }
.zt-lb-counter {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
    font-family: inherit;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .zt-lb-prev { left: 10px; }
    .zt-lb-next { right: 10px; }
}

/* Adjacent Property Navigation Tiles */
.wp-block-post-navigation-link {
    max-width: 48%;
}
.zt-nav-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}
.zt-nav-tile:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}
.zt-nav-thumb {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #cbd5e1;
}
.zt-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.zt-nav-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
    min-width: 0;
}
.zt-nav-sub {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.zt-nav-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: block;
}
.zt-nav-price {
    font-size: 12px;
    font-weight: 800;
    color: #047857;
}
@media (max-width: 640px) {
    .wp-block-post-navigation-link {
        max-width: 100%;
        width: 100%;
        margin-bottom: 10px;
    }
    .zt-nav-tile {
        width: 100%;
        box-sizing: border-box;
    }
}
